home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 1 / ACE CD 1.iso / files / spectrum / specuti1.lha / Z80_Tut_4.snapshot < prev    next >
Unknown  |  1994-06-22  |  48.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3f 58 27 9b 36 21 17 46 | 00 78 5c 00 17 00 00 3a |?X'.6!.F|.x\....:|
|00000010| 5c d4 03 ff 00 82 ff e6 | ff 01 07 00 00 00 00 00 |\.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 70 40 10 01 11 00 38 | 00 40 40 04 40 00 e0 06 |.p@....8|.@@.@...|
|00001210| 20 06 0e 7c 00 00 00 00 | 00 00 00 00 00 00 00 00 | ..|....|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 48 03 92 01 13 00 4c | 00 8f 20 04 4e 59 03 88 |.H.....L|.. .NY..|
|00001310| 70 02 11 40 00 00 00 00 | 00 00 00 00 00 00 00 00 |p..@....|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 44 44 14 00 a1 00 54 | 00 90 20 07 c1 64 e4 5c |.DD....T|.. ..d.\|
|00001410| 20 04 0e 78 00 00 00 00 | 00 00 00 00 00 00 00 00 | ..x....|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 44 43 98 00 a1 00 64 | 00 90 20 04 4f 44 14 48 |.DC....d|.. .OD.H|
|00001510| 20 00 11 04 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 00 48 40 54 00 41 00 44 | 00 90 20 04 51 45 14 48 |.H@T.A.D|.. .QE.H|
|00001610| 28 00 11 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |(..D....|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 70 47 92 00 43 84 38 | 00 4f 40 04 4f 44 e3 88 |.pG..C.8|.O@.OD..|
|00001710| 10 00 0e 38 00 00 00 00 | 00 00 00 00 00 00 00 00 |...8....|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 38 38 38 38 38 |........|...88888|
|00001820| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001830| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001840| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001850| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001860| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001870| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001880| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001890| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000018a0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000018b0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000018c0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000018d0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000018e0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000018f0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001900| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001910| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001920| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001930| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001940| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001950| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001960| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001970| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001980| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001990| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000019a0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000019b0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000019c0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000019d0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000019e0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|000019f0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001a00| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001a10| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001a20| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001a30| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001a40| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001a50| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001a60| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001a70| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001a80| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001a90| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001aa0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001ab0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001ac0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001ad0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001ae0| 38 38 38 38 38 38 38 38 | 38 38 38 38 38 38 38 38 |88888888|88888888|
|00001af0| 38 38 38 38 38 38 38 38 | 38 38 38 8f 8f 8f 8f 8f |88888888|888.....|
|00001b00| 8f 8f 8f 8f 8f 8f 8f 8f | 8f 8f 8f 8f 8f 8f 8f 8f |........|........|
|00001b10| 8f 8f 8f 8f 8f 8f 8f 8f | 8f 8f 8f 00 00 00 00 00 |........|........|
|00001b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c10| 00 00 00 00 00 00 00 00 | 00 00 00 ff 00 1e 38 ff |........|......8.|
|00001c20| 00 22 0d 0d 23 05 00 00 | 00 00 00 01 00 06 00 0b |."..#...|........|
|00001c30| 00 01 00 01 00 06 00 10 | 00 00 00 00 00 00 00 00 |........|........|
|00001c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c50| 00 00 3c 40 00 ff cc 01 | fc ff f4 ff 00 00 00 ff |..<@....|........|
|00001c60| fe ff 01 38 00 00 05 5d | 00 00 f0 5c f0 5c 05 5d |...8...]|...\.\.]|
|00001c70| 14 5d 04 5d 06 5d 0d 5d | 13 5d 00 00 15 5d 15 5d |.].].].]|.]...].]|
|00001c80| 15 5d 2d 92 5c 10 02 00 | 00 00 00 00 00 00 00 b6 |.]-.\...|........|
|00001c90| 1a 34 f7 5a 1c 00 58 ff | 00 00 21 00 5b 21 17 00 |.4.Z..X.|..!.[!..|
|00001ca0| 40 e0 50 21 18 21 17 01 | 38 00 38 00 00 00 00 00 |@.P!.!..|8.8.....|
|00001cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 50 ff ff ff |........|....P...|
|00001cd0| ff 00 f0 01 21 09 5d cd | 99 1e 22 ba 5c c9 0c 00 |....!.].|..".\...|
|00001ce0| 01 00 00 00 50 80 07 5d | ff ff ff ff ff ff ff ff |....P..]|........|
|00001cf0| ff ff ff ff 42 ff ff ff | ff 03 00 00 00 00 ff ff |....B...|........|
|00001d00| ff 03 00 9b 00 5f ff ff | ff ff 01 f4 09 a8 10 4b |....._..|.......K|
|00001d10| f4 09 c4 15 53 81 0f c4 | 15 52 f4 09 c4 15 50 80 |....S...|.R....P.|
|00001d20| 80 f9 c0 34 36 38 34 38 | 0e 00 00 00 b7 00 0d 80 |...46848|........|
|00001d30| 00 00 00 b7 00 00 0a 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e10| 00 00 00 00 00 00 00 00 | 00 00 00 06 5e 2a 5e 19 |........|....^*^.|
|00001e20| a9 2a 5e 2e 5e 3b 5e 42 | 5e 46 5e 4d 5e 57 5e 5e |.*^.^;^B|^F^M^W^^|
|00001e30| 5e 65 5e 75 5e 7c 5e 83 | 5e 8a 5e 91 5e 98 5e a8 |^e^u^|^.|^.^.^.^.|
|00001e40| 5e af 5e c2 5e 00 08 a8 | 01 00 c6 5e 00 ef 60 00 |^.^.^...|...^..`.|
|00001e50| cc 63 00 d7 64 01 00 ab | 66 02 49 67 01 00 e6 67 |.c..d...|f.Ig...g|
|00001e60| 01 00 fc 69 02 c5 6a 01 | 00 66 6b 00 36 6e 00 33 |...i..j.|.fk.6n.3|
|00001e70| 71 01 00 cd 71 02 b0 73 | 01 00 2d 74 00 66 76 01 |q...q..s|..-t.fv.|
|00001e80| 00 62 77 00 9c 78 00 00 | 7e 00 c0 80 00 29 82 01 |.bw..x..|~....)..|
|00001e90| 00 1d 83 02 5c 84 01 00 | b0 84 00 7d 87 01 00 6f |....\...|...}...o|
|00001ea0| 88 02 1c 89 01 00 9a 89 | 00 49 8b 01 00 c6 8c 02 |........|.I......|
|00001eb0| ae 8d 01 00 33 8e 00 99 | 90 00 1d 93 00 e2 94 00 |....3...|........|
|00001ec0| e2 96 01 00 83 97 02 d3 | 99 01 00 15 9a 00 d9 9c |........|........|
|00001ed0| 00 e6 9e 00 db a0 00 cc | a3 00 86 a4 01 00 57 a6 |........|......W.|
|00001ee0| 01 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 49 |. | I|
|00001ef0| 4e 44 45 58 20 52 45 47 | 49 53 54 45 52 53 a0 a0 |NDEX REG|ISTERS..|
|00001f00| 20 57 65 20 20 6e 6f 77 | 20 69 6e 74 72 6f 64 75 | We now| introdu|
|00001f10| 63 65 20 20 74 77 6f 20 | 6e 65 77 20 72 65 67 69 |ce two |new regi|
|00001f20| 73 74 65 72 73 2c 20 74 | 68 65 69 6e 64 65 78 20 |sters, t|heindex |
|00001f30| 20 72 65 67 69 73 74 65 | 72 73 20 20 49 58 20 61 | registe|rs IX a|
|00001f40| 6e 64 20 20 49 59 2e 20 | 20 20 54 68 65 73 65 20 |nd IY. | These |
|00001f50| 20 74 77 6f 72 65 67 69 | 73 74 65 72 73 20 61 72 | tworegi|sters ar|
|00001f60| 65 20 69 64 65 6e 74 69 | 63 61 6c 20 69 6e 20 65 |e identi|cal in e|
|00001f70| 76 65 72 79 20 77 61 79 | 2e 20 57 68 61 74 61 70 |very way|. Whatap|
|00001f80| 70 6c 69 65 73 20 74 6f | 20 6f 6e 65 20 61 70 70 |plies to| one app|
|00001f90| 6c 69 65 73 20 74 6f 20 | 74 68 65 20 6f 74 68 65 |lies to |the othe|
|00001fa0| 72 2e a0 a0 20 54 68 65 | 79 20 20 20 63 61 6e 20 |r... The|y can |
|00001fb0| 20 74 61 6b 65 20 20 74 | 68 65 20 20 70 6c 61 63 | take t|he plac|
|00001fc0| 65 20 20 6f 66 20 20 74 | 68 65 20 20 48 4c 72 65 |e of t|he HLre|
|00001fd0| 67 69 73 74 65 72 20 20 | 69 6e 20 20 6d 6f 73 74 |gister |in most|
|00001fe0| 20 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 2e 20 | instru|ctions. |
|00001ff0| 20 20 49 74 20 20 69 73 | 73 69 6d 70 6c 65 72 20 | It is|simpler |
|00002000| 74 6f 20 6c 69 73 74 20 | 74 68 65 20 20 69 6e 73 |to list |the ins|
|00002010| 74 72 75 63 74 69 6f 6e | 73 20 74 68 61 74 20 63 |truction|s that c|
|00002020| 61 6e 62 65 20 20 70 65 | 72 66 6f 72 6d 65 64 20 |anbe pe|rformed |
|00002030| 20 62 79 20 74 68 65 20 | 48 4c 20 72 65 67 69 73 | by the |HL regis|
|00002040| 74 65 72 20 20 62 75 74 | 20 6e 6f 74 69 6e 64 65 |ter but| notinde|
|00002050| 78 20 72 65 67 69 73 74 | 65 72 73 3a 2d a0 a0 41 |x regist|ers:-..A|
|00002060| 44 43 20 20 48 4c 2c 64 | 64 20 20 20 20 53 42 43 |DC HL,d|d SBC|
|00002070| 20 48 4c 2c 64 64 20 20 | 61 6e 64 20 45 58 20 44 | HL,dd |and EX D|
|00002080| 45 2c 48 4c 20 20 61 72 | 65 74 68 65 20 6f 6e 6c |E,HL ar|ethe onl|
|00002090| 79 20 65 78 63 65 70 74 | 69 6f 6e 73 2e a0 a0 20 |y except|ions... |
|000020a0| 54 68 65 79 20 63 61 6e | 6e 6f 74 20 62 65 20 20 |They can|not be |
|000020b0| 65 78 63 68 61 6e 67 65 | 64 20 66 6f 72 20 48 4c |exchange|d for HL|
|000020c0| 20 20 69 66 20 74 68 61 | 74 72 65 67 69 73 74 65 | if tha|tregiste|
|000020d0| 72 20 20 70 61 69 72 20 | 20 69 73 20 20 6f 6e 6c |r pair | is onl|
|000020e0| 79 20 20 69 6d 70 6c 69 | 65 64 20 20 69 6e 20 20 |y impli|ed in |
|000020f0| 74 68 65 69 6e 73 74 72 | 75 63 74 69 6f 6e 2c 20 |theinstr|uction, |
|00002100| 69 2e 65 2e 20 52 52 44 | 2e a3 20 54 68 65 20 20 |i.e. RRD|.. The |
|00002110| 20 67 72 65 61 74 20 20 | 20 61 64 76 61 6e 74 61 | great | advanta|
|00002120| 67 65 20 20 6f 66 20 20 | 20 74 68 65 20 20 20 69 |ge of | the i|
|00002130| 6e 64 65 78 72 65 67 69 | 73 74 65 72 73 20 20 20 |ndexregi|sters |
|00002140| 68 6f 77 65 76 65 72 20 | 20 20 69 73 20 20 20 74 |however | is t|
|00002150| 68 61 74 20 20 20 69 6e | 64 69 72 65 63 74 61 64 |hat in|directad|
|00002160| 64 72 65 73 73 69 6e 67 | 20 69 73 20 6e 6f 74 20 |dressing| is not |
|00002170| 73 69 6d 70 6c 79 20 20 | 28 48 4c 29 20 62 75 74 |simply |(HL) but|
|00002180| 20 28 49 58 2b 64 29 2e | 20 54 68 65 20 69 6e 64 | (IX+d).| The ind|
|00002190| 69 72 65 63 74 20 61 64 | 64 72 65 73 73 20 69 73 |irect ad|dress is|
|000021a0| 20 63 61 6c 63 75 6c 61 | 74 65 64 20 61 73 20 74 | calcula|ted as t|
|000021b0| 68 65 74 68 65 20 20 73 | 75 6d 20 20 6f 66 20 74 |hethe s|um of t|
|000021c0| 68 65 20 20 63 6f 6e 74 | 65 6e 74 73 20 20 6f 66 |he cont|ents of|
|000021d0| 20 20 74 68 65 20 20 49 | 58 2f 49 59 72 65 67 69 | the I|X/IYregi|
|000021e0| 73 74 65 72 20 61 6e 64 | 20 20 20 74 68 65 20 20 |ster and| the |
|000021f0| 20 6f 66 66 73 65 74 20 | 20 20 64 20 20 73 70 65 | offset | d spe|
|00002200| 63 69 66 69 65 64 69 6e | 20 74 68 65 20 69 6e 73 |cifiedin| the ins|
|00002210| 74 72 75 63 74 69 6f 6e | 2e 20 20 20 54 68 69 73 |truction|. This|
|00002220| 20 20 6f 66 66 73 65 74 | 20 63 61 6e 20 20 62 65 | offset| can be|
|00002230| 61 6e 79 20 6e 75 6d 62 | 65 72 20 62 65 74 77 65 |any numb|er betwe|
|00002240| 65 6e 20 30 20 61 6e 64 | 20 32 35 35 2e a0 a0 20 |en 0 and| 255... |
|00002250| 49 74 20 69 73 20 65 61 | 73 69 65 72 20 74 6f 20 |It is ea|sier to |
|00002260| 75 73 65 20 74 68 65 20 | 20 69 6e 64 65 78 20 20 |use the | index |
|00002270| 72 65 67 69 73 74 65 72 | 73 74 6f 20 69 6e 74 65 |register|sto inte|
|00002280| 72 72 6f 67 61 74 65 20 | 74 61 62 6c 65 73 20 74 |rrogate |tables t|
|00002290| 68 61 6e 20 75 73 69 6e | 67 20 20 48 4c 2e 20 20 |han usin|g HL. |
|000022a0| 54 68 65 6f 66 66 73 65 | 74 20 63 61 6e 20 64 65 |Theoffse|t can de|
|000022b0| 66 69 6e 65 20 74 68 65 | 20 63 6f 6c 75 6d 6e 20 |fine the| column |
|000022c0| 69 6e 20 74 68 65 20 20 | 74 61 62 6c 65 61 6e 64 |in the |tableand|
|000022d0| 20 20 49 58 2f 49 59 20 | 72 65 67 69 73 74 65 72 | IX/IY |register|
|000022e0| 20 70 6f 69 6e 74 20 74 | 6f 20 74 68 65 20 62 65 | point t|o the be|
|000022f0| 67 69 6e 6e 69 6e 67 6f | 66 20 74 68 65 20 6c 69 |ginningo|f the li|
|00002300| 6e 65 2e 20 41 20 73 75 | 62 72 6f 75 74 69 6e 65 |ne. A su|broutine|
|00002310| 20 63 6f 75 6c 64 20 6d | 61 6e 69 70 75 6c 61 74 | could m|anipulat|
|00002320| 65 74 68 65 20 64 61 74 | 61 20 77 69 74 68 69 6e |ethe dat|a within|
|00002330| 20 74 68 65 20 6c 69 6e | 65 2c 20 75 73 69 6e 67 | the lin|e, using|
|00002340| 20 61 20 63 6f 6e 73 74 | 61 6e 74 49 58 2f 49 59 | a const|antIX/IY|
|00002350| 20 70 6f 69 6e 74 65 72 | 2e 20 20 53 75 62 73 65 | pointer|. Subse|
|00002360| 71 75 65 6e 74 20 20 6c | 69 6e 65 73 20 63 61 6e |quent l|ines can|
|00002370| 20 74 68 65 6e 62 65 20 | 6d 61 6e 69 70 75 6c 61 | thenbe |manipula|
|00002380| 74 65 64 20 20 73 69 6d | 70 6c 79 20 20 62 79 20 |ted sim|ply by |
|00002390| 75 73 69 6e 67 20 74 68 | 65 20 20 73 61 6d 65 73 |using th|e sames|
|000023a0| 75 62 72 6f 75 74 69 6e | 65 20 61 6e 64 20 63 68 |ubroutin|e and ch|
|000023b0| 61 6e 67 69 6e 67 20 74 | 68 65 20 49 58 2f 49 59 |anging t|he IX/IY|
|000023c0| 20 72 65 67 69 73 74 65 | 72 74 6f 20 70 6f 69 6e | registe|rto poin|
|000023d0| 74 20 74 6f 20 61 20 64 | 69 66 66 65 72 65 6e 74 |t to a d|ifferent|
|000023e0| 20 6c 69 6e 65 2e a3 20 | 54 68 65 20 20 20 6f 6e | line.. |The on|
|000023f0| 6c 79 20 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 20 |ly inst|ruction |
|00002400| 20 66 6f 72 20 20 77 68 | 69 63 68 20 20 28 48 4c | for wh|ich (HL|
|00002410| 29 63 61 6e 6e 6f 74 20 | 20 62 65 20 73 75 62 73 |)cannot | be subs|
|00002420| 74 69 74 75 74 65 64 20 | 62 79 20 28 49 58 2b 64 |tituted |by (IX+d|
|00002430| 29 20 6f 72 20 28 49 59 | 2b 64 29 69 73 20 20 4a |) or (IY|+d)is J|
|00002440| 50 20 28 48 4c 29 2e 20 | 20 20 4a 50 20 28 49 58 |P (HL). | JP (IX|
|00002450| 29 20 20 61 6e 64 20 20 | 4a 50 20 28 49 59 29 20 |) and |JP (IY) |
|00002460| 20 20 61 72 65 61 76 61 | 69 6c 61 62 6c 65 20 68 | areava|ilable h|
|00002470| 6f 77 65 76 65 72 2e a0 | a0 20 54 68 65 20 20 20 |owever..|. The |
|00002480| 73 75 6d 6d 61 72 79 20 | 20 20 6c 69 73 74 73 20 |summary | lists |
|00002490| 20 20 61 6c 6c 20 20 69 | 6e 73 74 72 75 63 74 69 | all i|nstructi|
|000024a0| 6f 6e 73 61 76 61 69 6c | 61 62 6c 65 20 75 73 69 |onsavail|able usi|
|000024b0| 6e 67 20 74 68 65 20 49 | 58 20 72 65 67 69 73 74 |ng the I|X regist|
|000024c0| 65 72 2e 20 54 68 69 73 | 20 6c 69 73 74 63 61 6e |er. This| listcan|
|000024d0| 20 62 65 20 72 65 70 65 | 61 74 65 64 20 66 6f 72 | be repe|ated for|
|000024e0| 20 74 68 65 20 49 59 20 | 72 65 67 69 73 74 65 72 | the IY |register|
|000024f0| 2e a3 20 53 75 6d 6d 61 | 72 79 20 2d 20 69 6e 64 |.. Summa|ry - ind|
|00002500| 65 78 20 72 65 67 69 73 | 74 65 72 73 a0 a0 4c 44 |ex regis|ters..LD|
|00002510| 20 72 2c 28 49 58 2b 64 | 29 20 20 20 4c 44 20 49 | r,(IX+d|) LD I|
|00002520| 58 2c 6e 6e 20 20 20 20 | 20 4c 44 20 53 50 2c 49 |X,nn | LD SP,I|
|00002530| 58 a0 4c 44 20 28 49 58 | 2b 64 29 2c 72 20 20 20 |X.LD (IX|+d),r |
|00002540| 4c 44 20 49 58 2c 28 6e | 6e 29 a0 4c 44 20 28 49 |LD IX,(n|n).LD (I|
|00002550| 58 2b 64 29 2c 6e 20 20 | 20 4c 44 20 28 6e 6e 29 |X+d),n | LD (nn)|
|00002560| 2c 49 58 20 20 20 45 58 | 20 28 53 50 29 2c 49 58 |,IX EX| (SP),IX|
|00002570| a0 a0 41 44 44 20 41 2c | 28 49 58 2b 64 29 20 20 |..ADD A,|(IX+d) |
|00002580| 49 4e 43 20 28 49 58 2b | 64 29 20 20 20 41 4e 44 |INC (IX+|d) AND|
|00002590| 20 28 49 58 2b 64 29 a0 | 41 44 43 20 41 2c 28 49 | (IX+d).|ADC A,(I|
|000025a0| 58 2b 64 29 20 20 44 45 | 43 20 28 49 58 2b 64 29 |X+d) DE|C (IX+d)|
|000025b0| 20 20 20 4f 52 20 28 49 | 58 2b 64 29 a0 53 55 42 | OR (I|X+d).SUB|
|000025c0| 20 28 49 58 2b 64 29 20 | 20 20 20 20 20 20 20 20 | (IX+d) | |
|000025d0| 20 20 20 20 20 20 20 20 | 58 4f 52 20 28 49 58 2b | |XOR (IX+|
|000025e0| 64 29 a0 53 42 43 20 41 | 2c 28 49 58 2b 64 29 20 |d).SBC A|,(IX+d) |
|000025f0| 20 43 50 20 28 49 58 2b | 64 29 a0 a0 41 44 44 20 | CP (IX+|d)..ADD |
|00002600| 49 58 2c 64 64 20 20 20 | 20 20 49 4e 43 20 49 58 |IX,dd | INC IX|
|00002610| 20 20 20 20 20 20 20 44 | 45 43 20 49 58 a0 a0 53 | D|EC IX..S|
|00002620| 4c 41 20 28 49 58 2b 64 | 29 20 20 20 20 53 52 41 |LA (IX+d|) SRA|
|00002630| 20 28 49 58 2b 64 29 20 | 20 20 53 52 4c 20 28 49 | (IX+d) | SRL (I|
|00002640| 58 2b 64 29 a0 52 4c 43 | 20 28 49 58 2b 64 29 20 |X+d).RLC| (IX+d) |
|00002650| 20 20 20 52 4c 20 28 49 | 58 2b 64 29 20 20 20 20 | RL (I|X+d) |
|00002660| 52 52 43 20 28 49 58 2b | 64 29 a0 52 52 20 20 28 |RRC (IX+|d).RR (|
|00002670| 49 58 2b 64 29 a0 a0 53 | 45 54 20 4e 20 28 49 58 |IX+d)..S|ET N (IX|
|00002680| 2b 64 29 20 20 52 45 53 | 20 4e 2c 28 49 58 2b 64 |+d) RES| N,(IX+d|
|00002690| 29 20 42 49 54 20 4e 2c | 28 49 58 2b 64 29 a0 a0 |) BIT N,|(IX+d)..|
|000026a0| 4a 50 20 28 49 58 29 a0 | a0 57 69 74 68 20 61 6e |JP (IX).|.With an|
|000026b0| 20 69 64 65 6e 74 69 63 | 61 6c 20 73 65 74 20 66 | identic|al set f|
|000026c0| 6f 72 20 49 59 a3 20 20 | 20 20 20 45 58 41 4d 50 |or IY. | EXAMP|
|000026d0| 4c 45 20 4f 46 20 55 53 | 45 20 4f 46 20 49 4e 44 |LE OF US|E OF IND|
|000026e0| 45 58 20 52 45 47 49 53 | 54 45 52 a0 a0 20 54 68 |EX REGIS|TER.. Th|
|000026f0| 65 20 20 65 78 61 6d 70 | 6c 65 20 20 75 73 65 73 |e examp|le uses|
|00002700| 20 20 74 68 65 20 20 49 | 58 20 72 65 67 69 73 74 | the I|X regist|
|00002710| 65 72 20 61 73 20 61 70 | 6f 69 6e 74 65 72 20 74 |er as ap|ointer t|
|00002720| 6f 20 61 20 20 74 61 62 | 6c 65 20 6f 66 20 20 74 |o a tab|le of t|
|00002730| 77 6f 20 20 62 79 74 65 | 20 6e 75 6d 62 65 72 73 |wo byte| numbers|
|00002740| 2e 45 61 63 68 20 6e 75 | 6d 62 65 72 20 69 73 20 |.Each nu|mber is |
|00002750| 74 6f 20 62 65 20 64 69 | 76 69 64 65 64 20 62 79 |to be di|vided by|
|00002760| 20 32 2e a3 20 4c 44 20 | 42 2c 35 a0 20 20 4c 44 | 2.. LD |B,5. LD|
|00002770| 20 49 58 2c 49 54 45 4d | 31 a0 20 4c 4f 4f 50 20 | IX,ITEM|1. LOOP |
|00002780| 20 53 52 4c 20 28 49 58 | 2b 31 29 a0 20 20 52 52 | SRL (IX|+1). RR|
|00002790| 20 28 49 58 2b 30 29 a0 | 20 20 49 4e 43 20 49 58 | (IX+0).| INC IX|
|000027a0| a0 20 20 49 4e 43 20 49 | 58 a0 20 20 44 4a 4e 5a |. INC I|X. DJNZ|
|000027b0| 20 4c 4f 4f 50 a0 20 20 | 52 45 54 a0 20 20 a0 20 | LOOP. |RET. . |
|000027c0| 49 54 45 4d 31 20 44 45 | 46 57 20 35 36 30 a0 20 |ITEM1 DE|FW 560. |
|000027d0| 20 44 45 46 57 20 39 36 | 33 34 a0 20 20 44 45 46 | DEFW 96|34. DEF|
|000027e0| 57 20 31 38 37 a0 20 20 | 44 45 46 57 20 38 38 34 |W 187. |DEFW 884|
|000027f0| a0 20 20 44 45 46 57 20 | 35 39 33 37 a0 20 20 a0 |. DEFW |5937. .|
|00002800| 20 20 20 20 20 54 48 45 | 20 41 4c 54 45 52 4e 41 | THE| ALTERNA|
|00002810| 54 49 56 45 20 53 45 54 | 20 4f 46 20 52 45 47 49 |TIVE SET| OF REGI|
|00002820| 53 54 45 52 53 a0 a0 20 | 54 68 65 20 20 20 5a 38 |STERS.. |The Z8|
|00002830| 30 20 20 20 68 61 73 20 | 20 20 20 77 69 74 68 69 |0 has | withi|
|00002840| 6e 20 20 74 68 65 20 20 | 63 68 69 70 20 20 20 61 |n the |chip a|
|00002850| 6e 61 6c 74 65 72 6e 61 | 74 69 76 65 20 73 65 74 |nalterna|tive set|
|00002860| 20 6f 66 20 74 68 65 20 | 20 70 72 69 6d 61 72 79 | of the | primary|
|00002870| 20 20 72 65 67 69 73 74 | 65 72 73 41 46 2c 20 42 | regist|ersAF, B|
|00002880| 43 2c 20 44 45 20 20 61 | 6e 64 20 48 4c 2e 20 20 |C, DE a|nd HL. |
|00002890| 20 54 68 65 73 65 20 20 | 61 72 65 20 20 6e 6f 72 | These |are nor|
|000028a0| 6d 61 6c 6c 79 64 65 73 | 69 67 6e 61 74 65 64 20 |mallydes|ignated |
|000028b0| 20 61 73 20 20 41 46 27 | 2c 20 20 42 43 27 2c 20 | as AF'|, BC', |
|000028c0| 20 44 45 27 20 20 61 6e | 64 20 20 48 4c 27 2e 41 | DE' an|d HL'.A|
|000028d0| 6c 74 68 6f 75 67 68 20 | 6e 6f 20 6f 70 65 72 61 |lthough |no opera|
|000028e0| 74 69 6f 6e 73 20 63 61 | 6e 20 62 65 20 70 65 72 |tions ca|n be per|
|000028f0| 66 6f 72 6d 65 64 20 6f | 6e 74 68 65 73 65 20 20 |formed o|nthese |
|00002900| 72 65 67 69 73 74 65 72 | 73 2c 20 20 74 68 65 79 |register|s, they|
|00002910| 20 20 63 61 6e 20 20 62 | 65 20 75 73 65 64 20 61 | can b|e used a|
|00002920| 73 20 61 66 61 73 74 20 | 6d 65 74 68 6f 64 20 6f |s afast |method o|
|00002930| 66 20 73 74 6f 72 61 67 | 65 2e a0 a0 a0 20 54 68 |f storag|e.... Th|
|00002940| 65 72 65 20 61 72 65 20 | 6f 6e 6c 79 20 74 77 6f |ere are |only two|
|00002950| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 73 20 69 6e | instruc|tions in|
|00002960| 76 6f 6c 76 69 6e 67 74 | 68 65 20 61 6c 74 65 72 |volvingt|he alter|
|00002970| 6e 61 74 69 76 65 20 72 | 65 67 69 73 74 65 72 73 |native r|egisters|
|00002980| 2e a0 a0 20 45 58 20 41 | 46 2c 41 46 27 20 20 65 |... EX A|F,AF' e|
|00002990| 78 63 68 61 6e 67 65 73 | 20 20 74 68 65 20 63 6f |xchanges| the co|
|000029a0| 6e 74 65 6e 74 73 20 6f | 66 20 20 41 46 20 20 20 |ntents o|f AF |
|000029b0| 20 20 20 20 20 20 20 20 | 20 61 6e 64 20 41 46 27 | | and AF'|
|000029c0| a0 a0 20 45 58 58 20 20 | 20 20 20 20 20 20 65 78 |.. EXX | ex|
|000029d0| 63 68 61 6e 67 65 73 20 | 42 43 2c 44 45 20 20 61 |changes |BC,DE a|
|000029e0| 6e 64 20 48 4c 2c 20 20 | 77 69 74 68 20 20 20 20 |nd HL, |with |
|000029f0| 20 20 20 20 20 20 20 20 | 42 43 27 2c 20 44 45 27 | |BC', DE'|
|00002a00| 20 61 6e 64 20 48 4c 27 | 20 72 65 73 70 65 63 74 | and HL'| respect|
|00002a10| 69 76 65 6c 79 2e a3 20 | 20 20 20 20 45 58 41 4d |ively.. | EXAM|
|00002a20| 50 4c 45 20 55 53 49 4e | 47 20 54 48 45 20 41 4c |PLE USIN|G THE AL|
|00002a30| 54 45 52 4e 41 54 49 56 | 45 20 53 45 54 a0 a0 20 |TERNATIV|E SET.. |
|00002a40| 54 68 65 20 20 65 78 61 | 6d 70 6c 65 20 20 6c 6f |The exa|mple lo|
|00002a50| 61 64 73 20 20 61 6c 6c | 20 72 65 67 69 73 74 65 |ads all| registe|
|00002a60| 72 73 2c 20 20 74 68 65 | 6e 73 77 6f 70 73 20 20 |rs, the|nswops |
|00002a70| 74 68 65 6d 20 20 77 69 | 74 68 20 20 74 68 65 20 |them wi|th the |
|00002a80| 20 20 61 6c 74 65 72 6e | 61 74 69 76 65 20 20 73 | altern|ative s|
|00002a90| 65 74 2e 48 61 76 69 6e | 67 20 20 72 65 2d 6c 6f |et.Havin|g re-lo|
|00002aa0| 61 64 65 64 20 20 74 68 | 65 20 72 65 67 69 73 74 |aded th|e regist|
|00002ab0| 65 72 73 20 61 20 66 75 | 72 74 68 65 72 73 77 6f |ers a fu|rtherswo|
|00002ac0| 70 20 72 65 74 75 72 6e | 73 20 74 68 65 20 6f 72 |p return|s the or|
|00002ad0| 69 67 69 6e 61 6c 20 6e | 75 6d 62 65 72 73 2e a3 |iginal n|umbers..|
|00002ae0| 20 4c 44 20 41 2c 33 30 | a0 20 20 4c 44 20 42 43 | LD A,30|. LD BC|
|00002af0| 2c 31 30 32 34 a0 20 20 | 4c 44 20 44 45 2c 38 30 |,1024. |LD DE,80|
|00002b00| 30 30 a0 20 20 4c 44 20 | 48 4c 2c 36 34 30 30 30 |00. LD |HL,64000|
|00002b10| a0 20 20 45 58 58 a0 20 | 20 45 58 20 41 46 2c 41 |. EXX. | EX AF,A|
|00002b20| 46 27 a0 20 20 4c 44 20 | 41 2c 36 30 a0 20 20 4c |F'. LD |A,60. L|
|00002b30| 44 20 42 43 2c 31 32 38 | 30 a0 20 20 4c 44 20 44 |D BC,128|0. LD D|
|00002b40| 45 2c 32 30 30 a0 20 20 | 4c 44 20 48 4c 2c 33 32 |E,200. |LD HL,32|
|00002b50| 31 30 30 a0 20 4c 4f 4f | 50 20 20 45 58 58 a0 20 |100. LOO|P EXX. |
|00002b60| 20 45 58 20 41 46 2c 41 | 46 27 a0 20 20 44 4a 4e | EX AF,A|F'. DJN|
|00002b70| 5a 20 4c 4f 4f 50 a0 20 | 20 52 45 54 a0 20 20 a0 |Z LOOP. | RET. .|
|00002b80| 20 20 20 20 20 20 20 20 | 49 4e 50 55 54 20 41 4e | |INPUT AN|
|00002b90| 44 20 4f 55 54 50 55 54 | 20 49 4e 53 54 52 55 43 |D OUTPUT| INSTRUC|
|00002ba0| 54 49 4f 4e 53 a0 a0 20 | 53 6f 20 66 61 72 20 77 |TIONS.. |So far w|
|00002bb0| 65 20 68 61 76 65 20 20 | 6d 61 6e 69 70 75 6c 61 |e have |manipula|
|00002bc0| 74 65 64 20 20 64 61 74 | 61 20 20 77 69 74 68 69 |ted dat|a withi|
|00002bd0| 6e 74 68 65 20 20 70 72 | 6f 63 65 73 73 6f 72 20 |nthe pr|ocessor |
|00002be0| 61 6e 64 20 20 69 74 73 | 20 61 73 73 6f 63 69 61 |and its| associa|
|00002bf0| 74 65 64 20 6d 65 6d 6f | 72 79 2e 20 4f 75 72 20 |ted memo|ry. Our |
|00002c00| 20 20 53 69 6d 75 6c 61 | 74 6f 72 20 20 20 65 78 | Simula|tor ex|
|00002c10| 61 6d 70 6c 65 73 20 20 | 20 68 61 76 65 20 20 20 |amples | have |
|00002c20| 73 68 6f 77 6e 68 6f 77 | 20 20 74 6f 20 20 77 72 |shownhow| to wr|
|00002c30| 69 74 65 20 20 74 6f 20 | 20 74 68 65 20 20 54 56 |ite to | the TV|
|00002c40| 20 73 63 72 65 65 6e 2c | 20 28 75 73 69 6e 67 6d | screen,| (usingm|
|00002c50| 65 6d 6f 72 79 20 20 6c | 6f 63 61 74 69 6f 6e 73 |emory l|ocations|
|00002c60| 20 20 34 30 30 30 48 20 | 74 6f 20 35 41 46 46 48 | 4000H |to 5AFFH|
|00002c70| 29 2e 20 20 20 54 68 69 | 73 74 79 70 65 20 20 6f |). Thi|stype o|
|00002c80| 66 20 20 6f 75 74 70 75 | 74 20 69 73 20 74 65 72 |f outpu|t is ter|
|00002c90| 6d 65 64 20 20 6d 65 6d | 6f 72 79 20 61 64 64 72 |med mem|ory addr|
|00002ca0| 65 73 73 6d 61 70 70 65 | 64 20 73 69 6e 63 65 20 |essmappe|d since |
|00002cb0| 69 74 20 6c 6f 6f 6b 73 | 20 6c 69 6b 65 20 6d 65 |it looks| like me|
|00002cc0| 6d 6f 72 79 2e 20 54 68 | 65 20 5a 38 4f 61 6c 73 |mory. Th|e Z8Oals|
|00002cd0| 6f 20 20 73 75 70 70 6f | 72 74 73 20 20 32 35 36 |o suppo|rts 256|
|00002ce0| 20 20 6f 75 74 70 75 74 | 20 61 6e 64 20 32 35 36 | output| and 256|
|00002cf0| 20 20 69 6e 70 75 74 70 | 6f 72 74 73 2c 20 6f 72 | inputp|orts, or|
|00002d00| 20 20 20 38 20 20 62 69 | 74 20 20 20 69 6e 66 6f | 8 bi|t info|
|00002d10| 72 6d 61 74 69 6f 6e 20 | 20 73 6f 75 72 63 65 73 |rmation | sources|
|00002d20| 2c 65 78 74 65 72 6e 61 | 6c 20 74 6f 20 6d 65 6d |,externa|l to mem|
|00002d30| 6f 72 79 2e a0 a0 20 57 | 65 20 20 63 61 6e 20 20 |ory... W|e can |
|00002d40| 69 6e 70 75 74 20 20 64 | 61 74 61 20 20 64 69 72 |input d|ata dir|
|00002d50| 65 63 74 6c 79 20 20 69 | 6e 74 6f 20 20 74 68 65 |ectly i|nto the|
|00002d60| 61 63 63 75 6d 75 6c 61 | 74 6f 72 20 77 69 74 68 |accumula|tor with|
|00002d70| 20 20 49 4e 20 41 2c 28 | 6e 29 20 20 77 68 65 72 | IN A,(|n) wher|
|00002d80| 65 20 6e 20 69 73 20 74 | 68 65 6e 75 6d 62 65 72 |e n is t|henumber|
|00002d90| 20 20 6f 66 20 20 74 68 | 65 20 20 69 6e 70 75 74 | of th|e input|
|00002da0| 20 20 70 6f 72 74 20 62 | 65 74 77 65 65 6e 20 4f | port b|etween O|
|00002db0| 20 61 6e 64 32 35 35 2e | 20 53 69 6d 69 6c 61 72 | and255.| Similar|
|00002dc0| 6c 79 20 77 65 20 63 61 | 6e 20 6f 75 74 70 75 74 |ly we ca|n output|
|00002dd0| 20 64 61 74 61 20 66 72 | 6f 6d 20 74 68 65 41 63 | data fr|om theAc|
|00002de0| 63 75 6d 75 6c 61 74 6f | 72 20 20 20 20 74 6f 20 |cumulato|r to |
|00002df0| 20 20 70 6f 72 74 20 20 | 20 6e 20 20 20 75 73 69 | port | n usi|
|00002e00| 6e 67 20 20 20 74 68 65 | 69 6e 73 74 72 75 63 74 |ng the|instruct|
|00002e10| 69 6f 6e 20 20 20 4f 55 | 54 20 28 6e 29 2c 41 2e |ion OU|T (n),A.|
|00002e20| 20 20 20 4e 6f 20 20 20 | 66 6c 61 67 73 20 20 61 | No |flags a|
|00002e30| 72 65 61 66 66 65 63 74 | 65 64 20 62 79 20 74 68 |reaffect|ed by th|
|00002e40| 65 73 65 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 73 |ese inst|ructions|
|00002e50| a3 20 57 65 20 20 63 61 | 6e 20 20 61 6c 73 6f 20 |. We ca|n also |
|00002e60| 20 69 6e 70 75 74 20 20 | 64 61 74 61 20 74 6f 20 | input |data to |
|00002e70| 61 6e 79 20 20 38 20 20 | 62 69 74 72 65 67 69 73 |any 8 |bitregis|
|00002e80| 74 65 72 20 20 75 73 69 | 6e 67 20 74 68 65 20 42 |ter usi|ng the B|
|00002e90| 20 61 6e 64 20 43 20 72 | 65 67 69 73 74 65 72 73 | and C r|egisters|
|00002ea0| 2e 20 54 68 65 69 6e 73 | 74 72 75 63 74 69 6f 6e |. Theins|truction|
|00002eb0| 20 20 20 20 49 4e 20 72 | 2c 28 43 29 2c 20 20 20 | IN r|,(C), |
|00002ec0| 74 72 61 6e 73 6d 69 74 | 73 20 20 20 74 68 65 63 |transmit|s thec|
|00002ed0| 6f 6e 74 65 6e 74 73 20 | 20 6f 66 20 20 74 68 65 |ontents | of the|
|00002ee0| 20 20 42 20 20 72 65 67 | 69 73 74 65 72 20 74 6f | B reg|ister to|
|00002ef0| 20 74 68 65 20 70 6f 72 | 74 77 68 6f 73 65 20 20 | the por|twhose |
|00002f00| 6e 75 6d 62 65 72 20 20 | 69 73 20 69 6e 20 20 74 |number |is in t|
|00002f10| 68 65 20 43 20 72 65 67 | 69 73 74 65 72 2e 20 20 |he C reg|ister. |
|00002f20| 54 68 65 70 6f 72 74 20 | 20 6d 61 79 20 20 20 6f |Theport | may o|
|00002f30| 72 20 20 6d 61 79 20 20 | 6e 6f 74 20 20 20 61 63 |r may |not ac|
|00002f40| 74 20 20 75 70 6f 6e 20 | 20 74 68 69 73 69 6e 66 |t upon | thisinf|
|00002f50| 6f 72 6d 61 74 69 6f 6e | 2e 20 20 20 54 68 65 20 |ormation|. The |
|00002f60| 20 72 65 74 75 72 6e 65 | 64 20 64 61 74 61 20 66 | returne|d data f|
|00002f70| 72 6f 6d 20 74 68 65 70 | 6f 72 74 20 69 73 20 20 |rom thep|ort is |
|00002f80| 6c 6f 61 64 65 64 20 20 | 69 6e 74 6f 20 20 72 65 |loaded |into re|
|00002f90| 67 69 73 74 65 72 20 72 | 2e 20 52 65 61 64 69 6e |gister r|. Readin|
|00002fa0| 67 74 68 65 20 20 53 70 | 65 63 74 72 75 6d 20 20 |gthe Sp|ectrum |
|00002fb0| 20 6b 65 79 62 6f 61 72 | 64 20 20 69 73 20 20 69 | keyboar|d is i|
|00002fc0| 6e 74 65 72 72 6f 67 61 | 74 65 64 75 73 69 6e 67 |nterroga|tedusing|
|00002fd0| 20 74 68 69 73 20 69 6e | 73 74 72 75 63 74 69 6f | this in|structio|
|00002fe0| 6e 2e a0 a0 20 49 4e 20 | 72 2c 20 28 43 29 20 20 |n... IN |r, (C) |
|00002ff0| 61 66 66 65 63 74 20 20 | 74 68 65 20 20 5a 65 72 |affect |the Zer|
|00003000| 6f 2c 20 20 53 69 67 6e | 2c 20 20 61 6e 64 50 61 |o, Sign|, andPa|
|00003010| 72 69 74 79 20 66 6c 61 | 67 73 2e 20 54 68 65 20 |rity fla|gs. The |
|00003020| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 49 4e 20 46 |instruct|ion IN F|
|00003030| 2c 20 28 43 29 20 69 73 | 74 68 65 20 6f 6e 6c 79 |, (C) is|the only|
|00003040| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 20 20 74 68 | instruc|tion th|
|00003050| 61 74 20 20 64 65 61 6c | 73 20 77 69 74 68 20 74 |at deal|s with t|
|00003060| 68 65 46 6c 61 67 20 72 | 65 67 69 73 74 65 72 20 |heFlag r|egister |
|00003070| 73 65 70 61 72 61 74 65 | 6c 79 2e 20 20 4f 6e 6c |separate|ly. Onl|
|00003080| 79 20 20 74 68 65 20 66 | 6c 61 67 73 61 72 65 20 |y the f|lagsare |
|00003090| 20 61 66 66 65 63 74 65 | 64 20 20 62 79 20 20 74 | affecte|d by t|
|000030a0| 68 69 73 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 20 |his inst|ruction |
|000030b0| 61 6e 64 20 6e 6f 64 61 | 74 61 20 69 73 20 74 72 |and noda|ta is tr|
|000030c0| 61 6e 73 66 65 72 72 65 | 64 20 69 6e 74 6f 20 74 |ansferre|d into t|
|000030d0| 68 65 20 70 72 6f 63 65 | 73 73 6f 72 2e a0 a0 20 |he proce|ssor... |
|000030e0| 4f 55 54 20 28 43 29 2c | 20 72 20 69 73 20 61 20 |OUT (C),| r is a |
|000030f0| 20 73 69 6d 69 6c 61 72 | 20 20 69 6e 73 74 72 75 | similar| instru|
|00003100| 63 74 69 6f 6e 20 20 74 | 6f 49 4e 20 72 2c 28 43 |ction t|oIN r,(C|
|00003110| 29 2c 20 62 75 74 20 74 | 68 65 20 63 6f 6e 74 65 |), but t|he conte|
|00003120| 6e 74 73 20 6f 66 20 74 | 68 65 20 72 65 67 69 73 |nts of t|he regis|
|00003130| 74 65 72 72 20 69 73 20 | 6c 6f 61 64 65 64 20 69 |terr is |loaded i|
|00003140| 6e 74 6f 20 70 6f 72 74 | 20 28 43 29 2e a3 20 53 |nto port| (C).. S|
|00003150| 75 6d 6d 61 72 79 20 2d | 20 73 69 6d 70 6c 65 20 |ummary -| simple |
|00003160| 69 6e 70 75 74 2f 6f 75 | 74 70 75 74 a0 a0 49 4e |input/ou|tput..IN|
|00003170| 20 41 2c 28 6e 29 20 20 | 20 20 77 68 65 72 65 20 | A,(n) | where |
|00003180| 6e 20 69 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |n is the| number |
|00003190| 6f 66 20 74 68 65 20 20 | 20 20 20 20 20 20 20 20 |of the | |
|000031a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 6e | | in|
|000031b0| 70 75 74 20 70 6f 72 74 | 20 28 30 2d 32 35 35 29 |put port| (0-255)|
|000031c0| a0 49 4e 20 72 2c 28 43 | 29 a0 49 4e 20 46 2c 28 |.IN r,(C|).IN F,(|
|000031d0| 6e 29 a0 a0 4f 55 54 20 | 28 6e 29 2c 41 a0 4f 55 |n)..OUT |(n),A.OU|
|000031e0| 54 20 28 43 29 2c 72 a3 | 20 20 20 45 58 41 4d 50 |T (C),r.| EXAMP|
|000031f0| 4c 45 53 20 4f 46 20 49 | 4e 50 55 54 2f 4f 55 54 |LES OF I|NPUT/OUT|
|00003200| 50 55 54 20 49 4e 53 54 | 52 55 43 54 49 4f 4e 53 |PUT INST|RUCTIONS|
|00003210| a0 a0 20 54 68 65 20 69 | 6d 70 6f 72 74 61 6e 74 |.. The i|mportant|
|00003220| 20 69 6e 70 75 74 20 70 | 6f 72 74 20 6f 6e 20 74 | input p|ort on t|
|00003230| 68 65 20 20 53 70 65 63 | 74 72 75 6d 69 73 20 32 |he Spec|trumis 2|
|00003240| 35 34 20 28 20 46 45 48 | 20 29 2c 20 69 74 20 69 |54 ( FEH| ), it i|
|00003250| 73 20 75 73 65 64 20 20 | 66 6f 72 20 20 69 6e 70 |s used |for inp|
|00003260| 75 74 74 69 6e 67 6b 65 | 79 62 6f 61 72 64 20 64 |uttingke|yboard d|
|00003270| 61 74 61 20 28 20 69 6e | 20 62 69 74 73 20 30 2d |ata ( in| bits 0-|
|00003280| 34 20 2c 20 20 62 69 74 | 20 30 20 62 65 69 6e 67 |4 , bit| 0 being|
|00003290| 74 68 65 20 6f 75 74 73 | 69 64 65 20 6b 65 79 20 |the outs|ide key |
|000032a0| 29 20 61 6e 64 20 66 6f | 72 20 63 61 73 73 65 74 |) and fo|r casset|
|000032b0| 74 65 20 69 6e 70 75 74 | 2e a0 a0 20 4f 75 74 70 |te input|... Outp|
|000032c0| 75 74 20 70 6f 72 74 20 | 32 35 34 20 69 73 20 75 |ut port |254 is u|
|000032d0| 73 65 64 20 74 6f 20 73 | 65 74 20 74 68 65 20 62 |sed to s|et the b|
|000032e0| 6f 72 64 65 72 63 6f 6c | 6f 75 72 20 28 20 62 69 |ordercol|our ( bi|
|000032f0| 74 20 30 2d 32 20 29 2c | 20 61 6e 64 20 6f 75 74 |t 0-2 ),| and out|
|00003300| 70 75 74 20 74 6f 20 63 | 61 73 73 65 74 74 65 28 |put to c|assette(|
|00003310| 20 62 69 74 20 36 20 29 | 2e a0 a0 20 45 61 63 68 | bit 6 )|... Each|
|00003320| 20 74 69 6d 65 20 74 68 | 65 20 70 72 6f 67 72 61 | time th|e progra|
|00003330| 6d 20 6c 6f 6f 70 73 20 | 72 6f 75 6e 64 20 70 72 |m loops |round pr|
|00003340| 65 73 73 20 61 64 69 66 | 66 65 72 65 6e 74 20 6b |ess adif|ferent k|
|00003350| 65 79 20 62 65 74 77 65 | 65 6e 20 20 22 48 22 20 |ey betwe|en "H" |
|00003360| 61 6e 64 20 20 22 45 4e | 54 45 52 22 20 74 6f 69 |and "EN|TER" toi|
|00003370| 6e 70 75 74 20 61 20 64 | 69 66 66 65 72 65 6e 74 |nput a d|ifferent|
|00003380| 20 6e 75 6d 62 65 72 2e | 20 53 65 74 74 69 6e 67 | number.| Setting|
|00003390| 20 43 20 74 6f 20 42 46 | 48 69 6e 74 65 72 72 6f | C to BF|Hinterro|
|000033a0| 67 61 74 65 73 20 20 20 | 6b 65 79 73 20 20 20 69 |gates |keys i|
|000033b0| 6e 20 20 20 74 68 69 73 | 20 72 61 6e 67 65 2e 20 |n this| range. |
|000033c0| 53 65 65 4d 61 6e 75 61 | 6c 2e a3 20 4c 44 20 42 |SeeManua|l.. LD B|
|000033d0| 2c 42 46 48 a0 20 4c 4f | 4f 50 20 20 4c 44 20 43 |,BFH. LO|OP LD C|
|000033e0| 2c 46 45 48 a0 20 20 49 | 4e 20 41 2c 28 43 29 a0 |,FEH. I|N A,(C).|
|000033f0| 20 20 41 4e 44 20 37 a0 | 20 20 4c 44 20 44 2c 41 | AND 7.| LD D,A|
|00003400| a0 20 20 4f 55 54 20 28 | 32 35 34 29 2c 41 a0 20 |. OUT (|254),A. |
|00003410| 20 44 45 43 20 44 a0 20 | 20 4c 44 20 43 2c 32 35 | DEC D. | LD C,25|
|00003420| 34 a0 20 20 4f 55 54 20 | 28 43 29 2c 44 a0 20 20 |4. OUT |(C),D. |
|00003430| 4a 52 20 4c 4f 4f 50 a0 | 20 20 a0 20 20 a0 20 20 |JR LOOP.| . . |
|00003440| a0 20 20 a0 20 20 a0 20 | 20 20 20 20 20 20 20 20 |. . . | |
|00003450| 20 20 20 20 42 4c 4f 43 | 4b 20 49 4e 53 54 52 55 | BLOC|K INSTRU|
|00003460| 43 54 49 4f 4e 53 a0 a0 | 20 54 68 65 72 65 20 61 |CTIONS..| There a|
|00003470| 72 65 20 20 66 6f 75 72 | 20 67 72 6f 75 70 73 20 |re four| groups |
|00003480| 6f 66 20 20 66 6f 75 72 | 20 74 79 70 65 73 20 20 |of four| types |
|00003490| 6f 66 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 20 20 |ofinstru|ctions |
|000034a0| 74 68 61 74 20 20 70 65 | 72 66 6f 72 6d 20 20 6f |that pe|rform o|
|000034b0| 70 65 72 61 74 69 6f 6e | 73 20 6f 6e 62 6c 6f 63 |peration|s onbloc|
|000034c0| 6b 73 20 6f 66 20 6d 65 | 6d 6f 72 79 2e 20 53 69 |ks of me|mory. Si|
|000034d0| 6e 63 65 20 74 68 65 73 | 65 20 69 6e 73 74 72 75 |nce thes|e instru|
|000034e0| 63 74 69 6f 6e 73 68 61 | 76 65 20 20 73 69 6d 69 |ctionsha|ve simi|
|000034f0| 6c 61 72 69 74 69 65 73 | 2c 20 20 74 68 65 79 20 |larities|, they |
|00003500| 20 61 72 65 20 20 69 6e | 74 72 6f 64 75 63 65 64 | are in|troduced|
|00003510| 74 6f 67 65 74 68 65 72 | 2e a0 a0 20 41 6c 6c 20 |together|... All |
|00003520| 20 62 6c 6f 63 6b 20 20 | 69 6e 73 74 72 75 63 74 | block |instruct|
|00003530| 69 6f 6e 73 20 75 73 65 | 20 20 72 65 67 69 73 74 |ions use| regist|
|00003540| 65 72 28 73 29 61 73 20 | 61 20 70 6f 69 6e 74 65 |er(s)as |a pointe|
|00003550| 72 28 73 29 20 20 74 6f | 20 20 73 63 61 6e 20 20 |r(s) to| scan |
|00003560| 74 68 6f 75 67 68 20 20 | 61 20 62 6c 6f 63 6b 6f |though |a blocko|
|00003570| 66 20 6d 65 6d 6f 72 79 | 20 61 6e 64 20 61 6e 6f |f memory| and ano|
|00003580| 74 68 65 72 20 61 73 20 | 61 20 63 6f 75 6e 74 65 |ther as |a counte|
|00003590| 72 2e a0 a0 20 41 6c 6c | 20 20 62 6c 6f 63 6b 20 |r... All| block |
|000035a0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 73 20 20 20 | instruc|tions |
|000035b0| 68 61 76 65 20 20 20 73 | 69 6d 69 6c 61 72 6d 6e |have s|imilarmn|
|000035c0| 65 6d 6f 6e 69 63 73 2e | 20 20 20 20 49 20 20 20 |emonics.| I |
|000035d0| 69 6e 64 69 63 61 74 65 | 73 20 20 20 20 74 68 61 |indicate|s tha|
|000035e0| 74 20 20 20 20 74 68 65 | 70 6f 69 6e 74 65 72 28 |t the|pointer(|
|000035f0| 73 29 20 20 61 72 65 20 | 20 20 49 6e 63 72 65 6d |s) are | Increm|
|00003600| 65 6e 74 65 64 2c 20 20 | 20 44 20 20 20 20 74 68 |ented, | D th|
|00003610| 61 74 74 68 65 20 20 70 | 6f 69 6e 74 65 72 28 73 |atthe p|ointer(s|
|00003620| 29 20 20 61 72 65 20 20 | 44 65 63 72 65 6d 65 6e |) are |Decremen|
|00003630| 74 65 64 2c 20 20 61 6e | 64 20 20 52 74 68 61 74 |ted, an|d Rthat|
|00003640| 20 20 74 68 65 20 69 6e | 73 74 72 75 63 74 69 6f | the in|structio|
|00003650| 6e 20 20 69 73 20 20 74 | 6f 20 62 65 20 20 72 65 |n is t|o be re|
|00003660| 70 65 61 74 65 64 75 6e | 74 69 6c 20 74 68 65 20 |peatedun|til the |
|00003670| 63 6f 75 6e 74 65 72 20 | 69 73 20 7a 65 72 6f 2e |counter |is zero.|
|00003680| a3 20 54 68 65 20 74 6f | 74 61 6c 20 6c 69 73 74 |. The to|tal list|
|00003690| 20 69 73 a0 a0 20 54 72 | 61 6e 73 66 65 72 73 20 | is.. Tr|ansfers |
|000036a0| 4c 44 20 2e 2e 2e 2e 2e | 4c 44 49 2c 4c 44 49 52 |LD .....|LDI,LDIR|
|000036b0| 2c 4c 44 44 2c 4c 44 44 | 52 a0 a0 20 43 6f 6d 70 |,LDD,LDD|R.. Comp|
|000036c0| 61 72 65 20 20 20 43 50 | 20 2e 2e 2e 2e 2e 43 50 |are CP| .....CP|
|000036d0| 49 2c 43 50 49 52 2c 43 | 50 44 2c 43 50 44 52 a0 |I,CPIR,C|PD,CPDR.|
|000036e0| a0 20 49 6e 70 75 74 20 | 20 20 20 20 49 4e 20 2e |. Input | IN .|
|000036f0| 2e 2e 2e 2e 49 4e 49 2c | 49 4e 49 52 2c 49 4e 44 |....INI,|INIR,IND|
|00003700| 2c 49 4e 44 52 a0 a0 20 | 4f 75 74 70 75 74 20 20 |,INDR.. |Output |
|00003710| 20 20 4f 55 54 2f 4f 54 | 2e 2e 4f 55 54 49 2c 4f | OUT/OT|..OUTI,O|
|00003720| 54 44 52 2c 4f 55 54 44 | 2c 4f 54 44 52 a0 a0 20 |TDR,OUTD|,OTDR.. |
|00003730| 54 68 65 20 20 55 20 20 | 69 6e 20 4f 55 54 20 20 |The U |in OUT |
|00003740| 69 73 20 20 64 72 6f 70 | 70 65 64 20 20 74 6f 20 |is drop|ped to |
|00003750| 6b 65 65 70 20 20 74 68 | 65 6d 6e 65 6d 6f 6e 69 |keep th|emnemoni|
|00003760| 63 20 74 6f 20 61 20 6d | 61 78 69 6d 75 6d 20 6f |c to a m|aximum o|
|00003770| 66 20 34 20 6c 65 74 74 | 65 72 73 2e a3 20 20 20 |f 4 lett|ers.. |
|00003780| 20 20 20 20 20 42 4c 4f | 43 4b 20 54 52 41 4e 53 | BLO|CK TRANS|
|00003790| 46 45 52 20 49 4e 53 54 | 52 55 43 54 49 4f 4e 53 |FER INST|RUCTIONS|
|000037a0| a0 a0 20 42 6c 6f 63 6b | 20 74 72 61 6e 73 66 65 |.. Block| transfe|
|000037b0| 72 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 20 74 |r instru|ctions t|
|000037c0| 72 61 6e 73 66 65 72 20 | 20 74 68 65 63 6f 6e 74 |ransfer | thecont|
|000037d0| 65 6e 74 73 20 6f 66 20 | 61 6e 20 61 72 65 61 20 |ents of |an area |
|000037e0| 6f 66 20 20 6d 65 6d 6f | 72 79 20 74 6f 20 20 61 |of memo|ry to a|
|000037f0| 6e 6f 74 68 65 72 61 72 | 65 61 2e 20 20 54 77 6f |notherar|ea. Two|
|00003800| 20 20 20 70 6f 69 6e 74 | 65 72 73 20 20 61 72 65 | point|ers are|
|00003810| 20 20 75 73 65 64 2e 20 | 20 54 68 65 20 20 48 4c | used. | The HL|
|00003820| 72 65 67 69 73 74 65 72 | 20 68 6f 6c 64 73 20 20 |register| holds |
|00003830| 74 68 65 20 73 6f 75 72 | 63 65 20 61 64 64 72 65 |the sour|ce addre|
|00003840| 73 73 20 61 6e 64 20 74 | 68 65 44 45 20 72 65 67 |ss and t|heDE reg|
|00003850| 69 73 74 65 72 20 20 74 | 68 65 20 64 65 73 74 69 |ister t|he desti|
|00003860| 6e 61 74 69 6f 6e 20 61 | 64 64 72 65 73 73 2e 20 |nation a|ddress. |
|00003870| 20 54 68 65 73 69 7a 65 | 20 6f 66 20 74 68 65 20 | Thesize| of the |
|00003880| 20 62 6c 6f 63 6b 20 20 | 74 6f 20 20 62 65 20 20 | block |to be |
|00003890| 74 72 61 6e 73 66 65 72 | 72 65 64 20 69 73 68 65 |transfer|red ishe|
|000038a0| 6c 64 20 69 6e 20 74 68 | 65 20 42 43 20 72 65 67 |ld in th|e BC reg|
|000038b0| 69 73 74 65 72 2e a3 20 | 4c 44 49 20 20 74 72 61 |ister.. |LDI tra|
|000038c0| 6e 73 66 65 72 73 20 20 | 28 48 4c 29 20 74 6f 20 |nsfers |(HL) to |
|000038d0| 28 44 45 29 2c 20 20 69 | 6e 63 72 65 6d 65 6e 74 |(DE), i|ncrement|
|000038e0| 73 62 6f 74 68 20 70 6f | 69 6e 74 65 72 73 2c 20 |sboth po|inters, |
|000038f0| 61 6e 64 20 64 65 63 72 | 65 6d 65 6e 74 73 20 42 |and decr|ements B|
|00003900| 43 2e 20 20 49 66 20 42 | 43 3d 30 74 68 65 20 20 |C. If B|C=0the |
|00003910| 50 2f 56 20 66 6c 61 67 | 20 20 69 73 20 20 30 20 |P/V flag| is 0 |
|00003920| 20 28 69 2e 65 2e 20 65 | 71 75 69 76 61 6c 65 6e | (i.e. e|quivalen|
|00003930| 74 20 20 74 6f 70 61 72 | 69 74 79 20 62 65 69 6e |t topar|ity bein|
|00003940| 67 20 6f 64 64 20 29 2e | 20 20 49 66 20 20 42 43 |g odd ).| If BC|
|00003950| 20 20 64 6f 65 73 20 20 | 6e 6f 74 20 3d 20 30 74 | does |not = 0t|
|00003960| 68 65 20 20 50 2f 56 20 | 20 66 6c 61 67 20 20 69 |he P/V | flag i|
|00003970| 73 20 20 31 20 28 20 70 | 61 72 69 74 79 20 65 76 |s 1 ( p|arity ev|
|00003980| 65 6e 20 29 2e 20 4c 44 | 49 74 68 65 72 65 66 6f |en ). LD|Itherefo|
|00003990| 72 65 20 20 70 65 72 66 | 6f 72 6d 73 20 20 6f 6e |re perf|orms on|
|000039a0| 6c 79 20 20 6f 6e 65 20 | 73 74 65 70 20 6f 66 20 |ly one |step of |
|000039b0| 74 68 65 74 72 61 6e 73 | 66 65 72 20 20 20 20 6f |thetrans|fer o|
|000039c0| 66 20 20 20 20 74 68 65 | 20 20 20 20 62 6c 6f 63 |f the| bloc|
|000039d0| 6b 2c 20 20 20 61 6c 6c | 6f 77 69 6e 67 69 6e 74 |k, all|owingint|
|000039e0| 65 72 6d 65 64 69 61 74 | 65 20 20 6f 70 65 72 61 |ermediat|e opera|
|000039f0| 74 69 6f 6e 73 20 20 74 | 6f 20 62 65 20 20 70 65 |tions t|o be pe|
|00003a00| 72 66 6f 72 6d 65 64 62 | 65 66 6f 72 65 20 74 68 |rformedb|efore th|
|00003a10| 65 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 20 69 73 |e instru|ction is|
|00003a20| 20 72 65 70 65 61 74 65 | 64 2e a0 a0 20 4c 44 49 | repeate|d... LDI|
|00003a30| 52 20 69 73 20 73 69 6d | 69 6c 61 72 20 74 6f 20 |R is sim|ilar to |
|00003a40| 4c 44 49 2c 20 74 72 61 | 6e 73 66 65 72 72 69 6e |LDI, tra|nsferrin|
|00003a50| 67 20 64 61 74 61 66 72 | 6f 6d 20 20 28 48 4c 29 |g datafr|om (HL)|
|00003a60| 20 74 6f 20 20 28 44 45 | 29 20 61 6e 64 20 20 69 | to (DE|) and i|
|00003a70| 6e 63 72 65 6d 65 6e 74 | 69 6e 67 20 20 74 68 65 |ncrement|ing the|
|00003a80| 70 6f 69 6e 74 65 72 73 | 2c 20 20 20 20 20 62 75 |pointers|, bu|
|00003a90| 74 20 20 20 20 20 74 68 | 69 73 20 20 20 20 20 69 |t th|is i|
|00003aa0| 6e 73 74 72 75 63 74 69 | 6f 6e 61 75 74 6f 6d 61 |nstructi|onautoma|
|00003ab0| 74 69 63 61 6c 6c 79 20 | 20 72 65 70 65 61 74 73 |tically | repeats|
|00003ac0| 20 74 68 65 20 6f 70 65 | 72 61 74 69 6f 6e 20 75 | the ope|ration u|
|00003ad0| 6e 74 69 6c 42 43 3d 30 | 20 61 6e 64 20 74 68 65 |ntilBC=0| and the|
|00003ae0| 20 77 68 6f 6c 65 20 62 | 6c 6f 63 6b 20 69 73 20 | whole b|lock is |
|00003af0| 74 72 61 6e 73 66 65 72 | 72 65 64 2e a3 0d 44 45 |transfer|red...DE|
|00003b00| 46 4d 20 22 70 6f 72 74 | 20 69 73 20 20 6c 6f 61 |FM "port| is loa|
|00003b10| 64 65 64 20 20 69 6e 74 | 6f 20 20 72 65 67 69 73 |ded int|o regis|
|00003b20| 74 65 72 20 72 2e 20 52 | 65 61 64 69 6e 67 22 0d |ter r. R|eading".|
|00003b30| 44 45 46 4d 20 22 74 68 | 65 20 20 53 70 65 63 74 |DEFM "th|e Spect|
|00003b40| 72 75 6d 20 20 20 6b 65 | 79 62 6f 61 72 64 20 20 |rum ke|yboard |
|00003b50| 69 73 20 20 69 6e 74 65 | 72 72 6f 67 61 74 65 64 |is inte|rrogated|
|00003b60| 22 0d 44 45 46 4d 20 22 | 75 73 69 6e 67 20 74 68 |".DEFM "|using th|
|00003b70| 69 73 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 2e a0 |is instr|uction..|
|00003b80| a0 22 0d 44 45 46 4d 20 | 22 20 49 4e 20 72 2c 20 |.".DEFM |" IN r, |
|00003b90| 28 43 29 20 20 61 66 66 | 65 63 74 20 20 74 68 65 |(C) aff|ect the|
|00003ba0| 20 20 5a 65 72 6f 2c 20 | 20 53 69 67 6e 2c 20 20 | Zero, | Sign, |
|00003bb0| 61 6e 64 22 0d 44 45 46 | 4d 20 22 50 61 72 69 74 |and".DEF|M "Parit|
|00003bc0| 79 20 66 6c 61 67 73 2e | 20 54 68 65 20 69 6e 73 |y flags.| The ins|
|00003bd0| 74 72 75 63 74 69 6f 6e | 20 49 4e 20 46 2c 20 28 |truction| IN F, (|
|00003be0| 43 29 20 69 73 22 0d 44 | 45 46 4d 20 22 74 68 65 |C) is".D|EFM "the|
|00003bf0| 20 6f 6e 6c 79 20 69 6e | 73 74 72 75 63 74 69 6f | only in|structio|
|00003c00| 6e 20 20 74 68 61 74 20 | 20 64 65 61 6c 73 20 77 |n that | deals w|
|00003c10| 69 74 68 20 74 68 65 22 | 0d 44 45 46 4d 20 22 46 |ith the"|.DEFM "F|
|00003c20| 6c 61 67 20 72 65 67 69 | 73 74 65 72 20 73 65 70 |lag regi|ster sep|
|00003c30| 61 72 61 74 65 6c 79 2e | 20 20 4f 6e 6c 79 20 20 |arately.| Only |
|00003c40| 74 68 65 20 66 6c 61 67 | 73 22 0d 44 45 46 4d 20 |the flag|s".DEFM |
|00003c50| 22 61 72 65 20 20 61 66 | 66 65 63 74 65 64 20 20 |"are af|fected |
|00003c60| 62 79 20 20 74 68 69 73 | 20 69 6e 73 74 72 75 63 |by this| instruc|
|00003c70| 74 69 6f 6e 20 61 6e 64 | 20 6e 6f 22 0d 44 45 46 |tion and| no".DEF|
|00003c80| 4d 20 22 64 61 74 61 20 | 69 73 20 74 72 61 6e 73 |M "data |is trans|
|00003c90| 66 65 72 72 65 64 20 69 | 6e 74 6f 20 74 68 65 20 |ferred i|nto the |
|00003ca0| 70 72 6f 63 65 73 73 6f | 72 2e a0 a0 22 0d 44 45 |processo|r...".DE|
|00003cb0| 46 4d 20 22 20 4f 55 54 | 20 28 43 29 2c 20 72 20 |FM " OUT| (C), r |
|00003cc0| 69 73 20 61 20 20 73 69 | 6d 69 6c 61 72 20 20 69 |is a si|milar i|
|00003cd0| 6e 73 74 72 75 63 74 69 | 6f 6e 20 20 74 6f 22 0d |nstructi|on to".|
|00003ce0| 44 45 46 4d 20 22 49 4e | 20 72 2c 28 43 29 2c 20 |DEFM "IN| r,(C), |
|00003cf0| 62 75 74 20 74 68 65 20 | 63 6f 6e 74 65 6e 74 73 |but the |contents|
|00003d00| 20 6f 66 20 74 68 65 20 | 72 65 67 69 73 74 65 72 | of the |register|
|00003d10| 22 0d 44 45 46 4d 20 22 | 72 20 69 00 00 00 00 00 |".DEFM "|r i.....|
|00003d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e10| 00 00 00 00 00 00 00 00 | 00 00 00 20 4c 44 44 20 |........|... LDD |
|00003e20| 69 73 20 73 69 6d 69 6c | 61 72 20 74 6f 20 4c 44 |is simil|ar to LD|
|00003e30| 49 20 65 78 63 65 70 74 | 20 74 68 65 20 70 6f 69 |I except| the poi|
|00003e40| 6e 74 65 72 73 61 72 65 | 20 44 65 63 72 65 6d 65 |ntersare| Decreme|
|00003e50| 6e 74 65 64 2e 20 20 54 | 68 75 73 20 20 48 4c 20 |nted. T|hus HL |
|00003e60| 61 6e 64 20 44 45 20 73 | 74 61 72 74 20 61 74 74 |and DE s|tart att|
|00003e70| 68 65 20 20 74 6f 70 20 | 20 6f 66 20 20 20 74 68 |he top | of th|
|00003e80| 65 20 20 72 65 73 70 65 | 63 74 69 76 65 20 20 62 |e respe|ctive b|
|00003e90| 6c 6f 63 6b 73 20 20 6f | 66 6d 65 6d 6f 72 79 2e |locks o|fmemory.|
|00003ea0| a0 a0 20 4c 44 44 52 20 | 20 52 65 70 65 61 74 73 |.. LDDR | Repeats|
|00003eb0| 20 20 4c 44 44 20 20 75 | 6e 74 69 6c 20 20 42 43 | LDD u|ntil BC|
|00003ec0| 3d 30 20 61 73 20 69 6e | 20 74 68 65 4c 44 49 52 |=0 as in| theLDIR|
|00003ed0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 2e a0 a0 20 | instruc|tion... |
|00003ee0| 42 6f 74 68 20 20 70 61 | 69 72 73 20 20 6f 66 20 |Both pa|irs of |
|00003ef0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 73 20 20 28 | instruc|tions (|
|00003f00| 20 4c 44 49 52 20 61 6e | 64 4c 44 44 52 29 20 20 | LDIR an|dLDDR) |
|00003f10| 61 72 65 20 20 72 65 71 | 75 69 72 65 64 2e a0 a0 |are req|uired...|
|00003f20| 20 54 61 6b 65 20 74 68 | 65 20 65 78 61 6d 70 6c | Take th|e exampl|
|00003f30| 65 20 6f 66 20 61 6e 20 | 20 4c 44 49 52 20 20 69 |e of an | LDIR i|
|00003f40| 6e 73 74 72 75 63 74 69 | 6f 6e 77 69 74 68 20 74 |nstructi|onwith t|
|00003f50| 68 65 20 72 65 67 69 73 | 74 65 72 73 20 69 6e 69 |he regis|ters ini|
|00003f60| 74 69 61 6c 6c 79 20 73 | 65 74 20 74 6f 3a 2d a0 |tially s|et to:-.|
|00003f70| 48 4c 20 3d 20 31 30 30 | 30 20 20 44 45 20 3d 20 |HL = 100|0 DE = |
|00003f80| 31 35 30 30 20 20 61 6e | 64 20 20 42 43 20 3d 20 |1500 an|d BC = |
|00003f90| 31 30 30 30 2e a0 54 68 | 65 20 20 20 69 6e 73 74 |1000..Th|e inst|
|00003fa0| 72 75 63 74 69 6f 6e 20 | 20 20 73 68 6f 75 6c 64 |ruction | should|
|00003fb0| 20 20 74 72 61 6e 73 66 | 65 72 20 20 20 74 68 65 | transf|er the|
|00003fc0| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 20 74 68 65 |contents| of the|
|00003fd0| 20 20 62 6c 6f 63 6b 20 | 20 6f 66 20 20 6d 65 6d | block | of mem|
|00003fe0| 6f 72 79 20 20 31 30 30 | 30 2d 32 30 30 30 20 20 |ory 100|0-2000 |
|00003ff0| 20 74 6f 20 20 20 6d 65 | 6d 6f 72 79 20 20 20 6c | to me|mory l|
|00004000| 6f 63 61 74 69 6f 6e 73 | 20 20 31 35 30 30 2d 32 |ocations| 1500-2|
|00004010| 35 30 30 2e 55 6e 66 6f | 72 74 75 6e 61 74 65 6c |500.Unfo|rtunatel|
|00004020| 79 20 20 74 68 65 20 20 | 66 69 72 73 74 20 20 73 |y the |first s|
|00004030| 74 65 70 20 20 74 72 61 | 6e 73 66 65 72 73 74 68 |tep tra|nsfersth|
|00004040| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 31 30 |e conten|ts of 10|
|00004050| 30 30 20 74 6f 20 31 35 | 30 30 2e 20 20 42 79 20 |00 to 15|00. By |
|00004060| 74 68 65 20 74 69 6d 65 | 69 74 20 69 73 20 20 74 |the time|it is t|
|00004070| 68 65 20 74 75 72 6e 20 | 6f 66 20 20 6c 6f 63 61 |he turn |of loca|
|00004080| 74 69 6f 6e 20 20 31 35 | 30 30 20 20 74 6f 20 20 |tion 15|00 to |
|00004090| 62 65 74 72 61 6e 73 66 | 65 72 72 65 64 20 20 20 |betransf|erred |
|000040a0| 20 69 74 20 20 20 68 61 | 73 20 20 20 20 61 6c 72 | it ha|s alr|
|000040b0| 65 61 64 79 20 20 20 20 | 62 65 65 6e 6f 76 65 72 |eady |beenover|
|000040c0| 77 72 69 74 74 65 6e 20 | 69 6e 20 74 68 65 20 66 |written |in the f|
|000040d0| 69 72 73 74 20 73 74 65 | 70 2e a3 20 54 61 6b 69 |irst ste|p.. Taki|
|000040e0| 6e 67 20 74 68 65 20 69 | 6e 69 74 69 61 6c 20 63 |ng the i|nitial c|
|000040f0| 6f 6e 64 69 74 69 6f 6e | 73 20 3a 2d a0 48 4c 20 |ondition|s :-.HL |
|00004100| 3d 31 39 39 39 20 20 20 | 44 45 20 3d 20 32 34 39 |=1999 |DE = 249|
|00004110| 39 20 20 61 6e 64 20 20 | 20 42 43 20 3d 20 31 30 |9 and | BC = 10|
|00004120| 30 30 20 20 61 6e 64 75 | 73 69 6e 67 20 74 68 65 |00 andu|sing the|
|00004130| 20 4c 44 44 52 20 69 6e | 73 74 72 75 63 74 69 6f | LDDR in|structio|
|00004140| 6e 2c 20 74 68 65 20 73 | 61 6d 65 20 62 6c 6f 63 |n, the s|ame bloc|
|00004150| 6b 77 69 6c 6c 20 62 65 | 20 20 74 72 61 6e 73 66 |kwill be| transf|
|00004160| 65 72 72 65 64 20 20 74 | 6f 20 74 68 65 20 20 73 |erred t|o the s|
|00004170| 61 6d 65 20 20 6d 65 6d | 6f 72 79 6c 6f 63 61 74 |ame mem|orylocat|
|00004180| 69 6f 6e 73 20 77 69 74 | 68 6f 75 74 20 74 68 69 |ions wit|hout thi|
|00004190| 73 20 70 72 6f 62 6c 65 | 6d 2e a0 a0 20 49 6e 20 |s proble|m... In |
|000041a0| 67 65 6e 65 72 61 6c 2c | 20 69 66 20 74 68 65 20 |general,| if the |
|000041b0| 74 77 6f 20 62 6c 6f 63 | 6b 73 20 6f 76 65 72 6c |two bloc|ks overl|
|000041c0| 61 70 20 75 73 65 74 68 | 65 20 69 6e 73 74 72 75 |ap useth|e instru|
|000041d0| 63 74 69 6f 6e 20 74 68 | 61 74 20 65 6e 73 75 72 |ction th|at ensur|
|000041e0| 65 73 20 20 74 68 65 20 | 20 69 6e 69 74 69 61 6c |es the | initial|
|000041f0| 66 69 67 75 72 65 20 69 | 6e 20 74 68 65 20 48 4c |figure i|n the HL|
|00004200| 20 72 65 67 69 73 74 65 | 72 20 6c 69 65 73 20 77 | registe|r lies w|
|00004210| 69 74 68 69 6e 20 20 74 | 68 65 62 6c 6f 63 6b 20 |ithin t|heblock |
|00004220| 74 6f 20 77 68 69 63 68 | 20 64 61 74 61 20 69 73 |to which| data is|
|00004230| 20 74 6f 20 62 65 20 74 | 72 61 6e 73 66 65 72 72 | to be t|ransferr|
|00004240| 65 64 2e a3 20 53 75 6d | 6d 61 72 79 20 2d 20 62 |ed.. Sum|mary - b|
|00004250| 6c 6f 63 6b 20 74 72 61 | 6e 73 66 65 72 a0 a0 4c |lock tra|nsfer..L|
|00004260| 44 49 20 20 20 20 20 20 | 70 6f 69 6e 74 65 72 20 |DI |pointer |
|00004270| 69 6e 63 72 65 6d 65 6e | 74 65 64 a0 a0 4c 44 49 |incremen|ted..LDI|
|00004280| 52 20 20 20 20 20 70 6f | 69 6e 74 65 72 20 69 6e |R po|inter in|
|00004290| 63 72 65 6d 65 6e 74 65 | 64 20 61 6e 64 20 20 72 |cremente|d and r|
|000042a0| 65 70 65 61 74 65 64 20 | 20 20 20 20 20 20 20 20 |epeated | |
|000042b0| 75 6e 74 69 6c 20 6e 75 | 6d 62 65 72 20 66 6f 75 |until nu|mber fou|
|000042c0| 6e 64 20 6f 72 20 42 43 | 3d 30 a0 a0 4c 44 44 20 |nd or BC|=0..LDD |
|000042d0| 20 20 20 20 20 70 6f 69 | 6e 74 65 72 20 64 65 63 | poi|nter dec|
|000042e0| 72 65 6d 65 6e 74 65 64 | a0 a0 4c 44 44 52 20 20 |remented|..LDDR |
|000042f0| 20 20 20 70 6f 69 6e 74 | 65 72 20 64 65 63 72 65 | point|er decre|
|00004300| 6d 65 6e 74 65 64 20 61 | 6e 64 20 20 72 65 70 65 |mented a|nd repe|
|00004310| 61 74 65 64 20 20 20 20 | 20 20 20 20 20 75 6e 74 |ated | unt|
|00004320| 69 6c 20 6e 75 6d 62 65 | 72 20 66 6f 75 6e 64 20 |il numbe|r found |
|00004330| 6f 72 20 42 43 3d 30 a3 | 20 20 20 20 20 20 20 20 |or BC=0.| |
|00004340| 45 58 41 4d 50 4c 45 20 | 4f 46 20 42 4c 4f 43 4b |EXAMPLE |OF BLOCK|
|00004350| 20 54 52 41 4e 53 46 45 | 52 a0 a0 20 54 68 65 20 | TRANSFE|R.. The |
|00004360| 65 78 61 6d 70 6c 65 20 | 20 75 73 65 73 20 20 74 |example | uses t|
|00004370| 68 65 20 20 4c 44 49 52 | 20 20 69 6e 73 74 72 75 |he LDIR| instru|
|00004380| 63 74 69 6f 6e 74 6f 20 | 74 72 61 6e 73 66 65 72 |ctionto |transfer|
|00004390| 20 74 68 65 20 74 6f 70 | 20 74 68 69 72 64 20 6f | the top| third o|
|000043a0| 66 20 74 68 65 20 73 63 | 72 65 65 6e 20 74 6f 74 |f the sc|reen tot|
|000043b0| 68 65 20 20 6d 69 64 64 | 6c 65 20 6f 66 20 74 68 |he midd|le of th|
|000043c0| 65 20 73 63 72 65 65 6e | 2e a0 a0 20 54 68 65 20 |e screen|... The |
|000043d0| 70 6f 77 65 72 20 6f 66 | 20 74 68 65 73 65 20 20 |power of| these |
|000043e0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 73 20 69 73 20 |instruct|ions is |
|000043f0| 20 77 65 6c 6c 69 6c 6c | 75 73 74 72 61 74 65 64 | wellill|ustrated|
|00004400| 20 62 79 20 74 68 65 20 | 73 69 6d 70 6c 65 20 6f | by the |simple o|
|00004410| 70 65 72 61 74 69 6f 6e | 2e a0 a0 20 54 68 65 73 |peration|... Thes|
|00004420| 65 20 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |e instr|uctions |
|00004430| 20 63 61 6e 20 20 62 65 | 20 75 73 65 64 20 61 6c | can be| used al|
|00004440| 73 6f 20 74 6f 66 69 6c | 6c 20 20 61 20 20 62 6c |so tofil|l a bl|
|00004450| 6f 63 6b 20 20 6f 66 20 | 20 6d 65 6d 6f 72 79 20 |ock of | memory |
|00004460| 20 77 69 74 68 20 20 61 | 20 73 69 6e 67 6c 65 6e | with a| singlen|
|00004470| 75 6d 62 65 72 2e a3 20 | 4c 44 20 48 4c 2c 34 30 |umber.. |LD HL,40|
|00004480| 30 30 48 a0 20 20 4c 44 | 20 44 45 2c 34 38 30 30 |00H. LD| DE,4800|
|00004490| 48 a0 20 20 4c 44 20 42 | 43 2c 38 30 30 48 a0 20 |H. LD B|C,800H. |
|000044a0| 20 4c 44 49 52 a0 20 20 | 52 45 54 a0 20 20 a0 20 | LDIR. |RET. . |
|000044b0| 20 a0 20 20 a0 20 20 a0 | 20 20 a0 20 20 a0 20 20 | . . .| . . |
|000044c0| a0 20 20 a0 20 20 a0 20 | 20 a0 20 20 20 20 20 20 |. . . | . |
|000044d0| 20 20 20 20 20 20 20 20 | 20 20 42 4c 4f 43 4b 20 | | BLOCK |
|000044e0| 53 45 41 52 43 48 a0 a0 | 20 41 73 20 20 79 6f 75 |SEARCH..| As you|
|000044f0| 20 6d 61 79 20 6e 6f 77 | 20 62 65 20 61 62 6c 65 | may now| be able|
|00004500| 20 74 6f 20 69 6e 66 65 | 72 2c 20 74 68 65 20 20 | to infe|r, the |
|00004510| 43 50 67 72 6f 75 70 20 | 20 43 6f 6d 70 61 72 65 |CPgroup | Compare|
|00004520| 73 20 20 20 74 68 65 20 | 20 63 6f 6e 74 65 6e 74 |s the | content|
|00004530| 20 20 6f 66 20 20 6d 65 | 6d 6f 72 79 6c 6f 63 61 | of me|moryloca|
|00004540| 74 69 6f 6e 73 20 69 6e | 20 20 61 20 20 62 6c 6f |tions in| a blo|
|00004550| 63 6b 20 6f 66 20 20 6d | 65 6d 6f 72 79 20 20 77 |ck of m|emory w|
|00004560| 69 74 68 20 20 61 70 72 | 65 64 65 74 65 72 6d 69 |ith apr|edetermi|
|00004570| 6e 65 64 20 20 20 6e 75 | 6d 62 65 72 2e 20 20 20 |ned nu|mber. |
|00004580| 20 48 4c 20 20 20 68 6f | 6c 64 73 20 20 74 68 65 | HL ho|lds the|
|00004590| 70 6f 69 6e 74 65 72 20 | 20 61 6e 64 20 20 74 68 |pointer | and th|
|000045a0| 65 20 20 42 43 20 72 65 | 67 69 73 74 65 72 20 20 |e BC re|gister |
|000045b0| 74 68 65 20 6c 65 6e 67 | 74 68 6f 66 20 20 74 68 |the leng|thof th|
|000045c0| 65 20 20 20 62 6c 6f 63 | 6b 20 20 20 74 6f 20 20 |e bloc|k to |
|000045d0| 20 62 65 20 20 73 65 61 | 72 63 68 65 64 2e 20 20 | be sea|rched. |
|000045e0| 20 54 68 65 41 63 63 75 | 6d 75 6c 61 74 6f 72 20 | TheAccu|mulator |
|000045f0| 20 68 6f 6c 64 73 20 20 | 74 68 65 20 20 6e 75 6d | holds |the num|
|00004600| 62 65 72 20 66 6f 72 20 | 20 77 68 69 63 68 74 68 |ber for | whichth|
|00004610| 65 20 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 20 20 |e instr|uction |
|00004620| 20 77 69 6c 6c 20 20 73 | 65 61 72 63 68 2e 20 20 | will s|earch. |
|00004630| 49 66 20 20 20 74 68 65 | 6e 75 6d 62 65 72 20 20 |If the|number |
|00004640| 69 73 20 20 66 6f 75 6e | 64 20 20 74 68 65 6e 20 |is foun|d then |
|00004650| 20 74 68 65 20 20 5a 65 | 72 6f 20 66 6c 61 67 20 | the Ze|ro flag |
|00004660| 69 73 73 65 74 2e 20 20 | 41 73 20 20 62 65 66 6f |isset. |As befo|
|00004670| 72 65 20 20 74 68 65 20 | 20 50 2f 56 20 20 66 6c |re the | P/V fl|
|00004680| 61 67 20 69 6e 64 69 63 | 61 74 65 73 77 68 65 74 |ag indic|ateswhet|
|00004690| 68 65 72 20 42 43 3d 30 | 2e a0 a0 20 54 68 65 20 |her BC=0|... The |
|000046a0| 20 62 6c 6f 63 6b 20 20 | 69 6e 73 74 72 75 63 74 | block |instruct|
|000046b0| 69 6f 6e 73 20 20 73 74 | 6f 70 2c 20 6e 6f 74 20 |ions st|op, not |
|000046c0| 20 77 69 74 68 74 68 65 | 20 20 70 6f 69 6e 74 65 | withthe| pointe|
|000046d0| 72 28 73 29 20 20 70 6f | 69 6e 74 69 6e 67 20 61 |r(s) po|inting a|
|000046e0| 74 20 74 68 65 20 61 64 | 64 72 65 73 73 65 73 6a |t the ad|dressesj|
|000046f0| 75 73 74 20 6f 70 65 72 | 61 74 65 64 20 6f 6e 2c |ust oper|ated on,|
|00004700| 20 20 62 75 74 20 74 6f | 20 20 74 68 6f 73 65 20 | but to| those |
|00004710| 20 61 62 6f 75 74 20 74 | 6f 62 65 20 70 72 6f 63 | about t|obe proc|
|00004720| 65 73 73 65 64 2e 20 20 | 48 65 6e 63 65 20 69 66 |essed. |Hence if|
|00004730| 20 20 65 71 75 61 6c 69 | 74 79 20 69 73 20 66 6f | equali|ty is fo|
|00004740| 75 6e 64 74 68 65 79 20 | 20 70 6f 69 6e 74 20 74 |undthey | point t|
|00004750| 6f 20 74 68 65 20 20 6e | 65 78 74 20 61 64 64 72 |o the n|ext addr|
|00004760| 65 73 73 20 20 61 6e 64 | 20 20 6e 6f 74 74 68 65 |ess and| notthe|
|00004770| 20 6d 65 6d 6f 72 79 20 | 6c 6f 63 61 74 69 6f 6e | memory |location|
|00004780| 20 69 6e 20 77 68 69 63 | 68 20 69 74 20 77 61 73 | in whic|h it was|
|00004790| 20 66 6f 75 6e 64 2e a3 | 20 53 75 6d 6d 61 72 79 | found..| Summary|
|000047a0| 20 2d 20 62 6c 6f 63 6b | 20 73 65 61 72 63 68 a0 | - block| search.|
|000047b0| a0 43 50 49 20 20 20 20 | 20 20 70 6f 69 6e 74 65 |.CPI | pointe|
|000047c0| 72 20 69 6e 63 72 65 6d | 65 6e 74 65 64 a0 a0 43 |r increm|ented..C|
|000047d0| 50 49 52 20 20 20 20 20 | 70 6f 69 6e 74 65 72 20 |PIR |pointer |
|000047e0| 69 6e 63 72 65 6d 65 6e | 74 65 64 20 61 6e 64 20 |incremen|ted and |
|000047f0| 20 72 65 70 65 61 74 65 | 64 20 20 20 20 20 20 20 | repeate|d |
|00004800| 20 20 75 6e 74 69 6c 20 | 6e 75 6d 62 65 72 20 66 | until |number f|
|00004810| 6f 75 6e 64 20 6f 72 20 | 42 43 3d 30 a0 a0 43 50 |ound or |BC=0..CP|
|00004820| 44 20 20 20 20 20 20 70 | 6f 69 6e 74 65 72 20 64 |D p|ointer d|
|00004830| 65 63 72 65 6d 65 6e 74 | 65 64 a0 a0 43 50 44 52 |ecrement|ed..CPDR|
|00004840| 20 20 20 20 20 70 6f 69 | 6e 74 65 72 20 64 65 63 | poi|nter dec|
|00004850| 72 65 6d 65 6e 74 65 64 | 20 61 6e 64 20 20 72 65 |remented| and re|
|00004860| 70 65 61 74 65 64 20 20 | 20 20 20 20 20 20 20 75 |peated | u|
|00004870| 6e 74 69 6c 20 6e 75 6d | 62 65 72 20 66 6f 75 6e |ntil num|ber foun|
|00004880| 64 20 6f 72 20 42 43 3d | 30 a3 20 20 20 20 20 20 |d or BC=|0. |
|00004890| 20 20 45 58 41 4d 50 4c | 45 20 4f 46 20 42 4c 4f | EXAMPL|E OF BLO|
|000048a0| 43 4b 20 53 45 41 52 43 | 48 a0 a0 20 54 68 65 20 |CK SEARC|H.. The |
|000048b0| 20 63 6f 6c 6f 75 72 20 | 20 73 63 72 65 65 6e 20 | colour | screen |
|000048c0| 20 69 73 20 20 73 65 61 | 72 63 68 65 64 20 66 6f | is sea|rched fo|
|000048d0| 72 20 74 68 65 66 69 72 | 73 74 20 20 62 6c 75 65 |r thefir|st blue|
|000048e0| 20 20 61 6e 64 20 77 68 | 69 74 65 20 20 63 68 61 | and wh|ite cha|
|000048f0| 72 61 63 74 65 72 2e 20 | 20 49 6e 20 74 68 65 73 |racter. | In thes|
|00004900| 65 63 6f 6e 64 20 63 61 | 73 65 20 74 68 65 20 73 |econd ca|se the s|
|00004910| 65 61 72 63 68 20 20 69 | 73 20 20 74 6f 6f 20 20 |earch i|s too |
|00004920| 73 68 6f 72 74 20 20 74 | 6f 66 69 6e 64 20 61 20 |short t|ofind a |
|00004930| 6d 61 74 63 68 2e a3 20 | 4c 44 20 42 43 2c 31 30 |match.. |LD BC,10|
|00004940| 30 48 a0 20 20 4c 44 20 | 41 2c 31 35 a0 20 4c 4f |0H. LD |A,15. LO|
|00004950| 4f 50 20 20 4c 44 20 48 | 4c 2c 35 38 30 30 48 a0 |OP LD H|L,5800H.|
|00004960| 20 20 43 50 49 52 a0 20 | 20 4c 44 20 28 48 4c 29 | CPIR. | LD (HL)|
|00004970| 2c 30 a0 20 20 44 45 43 | 20 48 4c a0 20 20 43 50 |,0. DEC| HL. CP|
|00004980| 20 28 48 4c 29 a0 20 20 | 52 45 54 20 4e 5a a0 20 | (HL). |RET NZ. |
|00004990| 20 4c 44 20 42 43 2c 31 | 30 48 a0 20 20 4a 52 20 | LD BC,1|0H. JR |
|000049a0| 4c 4f 4f 50 a0 20 20 a0 | 20 20 a0 20 20 a0 20 20 |LOOP. .| . . |
|000049b0| a0 20 20 a0 20 20 20 20 | 20 20 42 4c 4f 43 4b 20 |. . | BLOCK |
|000049c0| 49 4e 50 55 54 2f 4f 55 | 54 50 55 54 20 49 4e 53 |INPUT/OU|TPUT INS|
|000049d0| 54 52 55 43 54 49 4f 4e | 53 a0 a0 20 54 68 65 20 |TRUCTION|S.. The |
|000049e0| 20 49 4e 20 20 20 67 72 | 6f 75 70 20 20 6f 66 20 | IN gr|oup of |
|000049f0| 20 62 6c 6f 63 6b 20 20 | 20 69 6e 73 74 72 75 63 | block | instruc|
|00004a00| 74 69 6f 6e 73 69 6e 70 | 75 74 20 64 61 74 61 20 |tionsinp|ut data |
|00004a10| 66 72 6f 6d 20 74 68 65 | 20 20 69 6e 70 75 74 20 |from the| input |
|00004a20| 70 6f 72 74 20 20 73 70 | 65 63 69 66 69 65 64 62 |port sp|ecifiedb|
|00004a30| 79 20 74 68 65 20 20 63 | 6f 6e 74 65 6e 74 73 20 |y the c|ontents |
|00004a40| 6f 66 20 74 68 65 20 20 | 43 20 20 72 65 67 69 73 |of the |C regis|
|00004a50| 74 65 72 20 20 69 6e 74 | 6f 61 20 62 6c 6f 63 6b |ter int|oa block|
|00004a60| 20 6f 66 20 6d 65 6d 6f | 72 79 20 73 74 61 72 74 | of memo|ry start|
|00004a70| 69 6e 67 20 61 74 20 20 | 74 68 65 20 61 64 64 72 |ing at |the addr|
|00004a80| 65 73 73 68 65 6c 64 20 | 69 6e 20 74 68 65 20 20 |essheld |in the |
|00004a90| 48 4c 20 20 72 65 67 69 | 73 74 65 72 2c 20 20 74 |HL regi|ster, t|
|00004aa0| 68 65 20 20 6c 65 6e 67 | 74 68 20 6f 66 77 68 69 |he leng|th ofwhi|
|00004ab0| 63 68 20 69 73 20 69 6e | 20 74 68 65 20 42 20 72 |ch is in| the B r|
|00004ac0| 65 67 69 73 74 65 72 2e | 20 20 41 6c 6c 20 20 66 |egister.| All f|
|00004ad0| 6f 72 6d 73 20 6f 66 49 | 4e 20 61 70 70 6c 79 3a |orms ofI|N apply:|
|00004ae0| 2d a0 a0 20 69 2e 65 2e | 20 20 49 4e 49 20 69 6e |-.. i.e.| INI in|
|00004af0| 63 72 65 6d 65 6e 74 69 | 6e 67 20 a0 20 20 20 20 |crementi|ng . |
|00004b00| 20 20 20 49 4e 49 52 20 | 69 6e 63 72 65 6d 65 6e | INIR |incremen|
|00004b10| 74 69 6e 67 20 61 6e 64 | 20 72 65 70 65 61 74 69 |ting and| repeati|
|00004b20| 6e 67 a0 a0 20 20 20 20 | 20 20 20 49 4e 44 20 20 |ng.. | IND |
|00004b30| 64 65 63 72 65 6d 65 6e | 74 69 6e 67 a0 20 20 20 |decremen|ting. |
|00004b40| 20 20 20 20 49 4e 44 52 | 20 64 65 63 72 65 6d 65 | INDR| decreme|
|00004b50| 6e 74 69 6e 67 20 61 6e | 64 20 72 65 70 65 61 74 |nting an|d repeat|
|00004b60| 69 6e 67 a3 20 54 68 65 | 20 20 4f 55 54 20 20 20 |ing. The| OUT |
|00004b70| 67 72 6f 75 70 20 20 69 | 73 20 20 69 64 65 6e 74 |group i|s ident|
|00004b80| 69 63 61 6c 20 74 6f 20 | 74 68 65 20 49 4e 67 72 |ical to |the INgr|
|00004b90| 6f 75 70 2c 20 62 75 74 | 20 20 64 61 74 61 20 20 |oup, but| data |
|00004ba0| 66 72 6f 6d 20 6d 65 6d | 6f 72 79 20 69 73 20 6f |from mem|ory is o|
|00004bb0| 75 74 70 75 74 20 74 6f | 70 6f 72 74 20 20 20 28 |utput to|port (|
|00004bc0| 43 29 20 20 20 69 6e 20 | 20 20 73 65 71 75 65 6e |C) in | sequen|
|00004bd0| 63 65 20 20 20 66 72 6f | 6d 20 20 20 6d 65 6d 6f |ce fro|m memo|
|00004be0| 72 79 62 65 67 69 6e 6e | 69 6e 67 20 61 74 20 6c |rybeginn|ing at l|
|00004bf0| 6f 63 61 74 69 6f 6e 20 | 28 48 4c 29 a0 a0 20 54 |ocation |(HL).. T|
|00004c00| 68 65 20 20 42 20 20 72 | 65 67 69 73 74 65 72 20 |he B r|egister |
|00004c10| 69 73 20 20 75 73 65 64 | 20 61 73 20 61 20 63 6f |is used| as a co|
|00004c20| 75 6e 74 65 72 20 61 73 | 74 68 65 20 49 4e 20 67 |unter as|the IN g|
|00004c30| 72 6f 75 70 2e a0 a0 20 | 4f 55 54 49 20 20 20 20 |roup... |OUTI |
|00004c40| 20 69 6e 63 72 65 6d 65 | 6e 74 69 6e 67 a0 20 4f | increme|nting. O|
|00004c50| 54 49 52 20 20 20 20 20 | 69 6e 63 72 65 6d 65 6e |TIR |incremen|
|00004c60| 74 69 6e 67 20 61 6e 64 | 20 72 65 70 65 61 74 69 |ting and| repeati|
|00004c70| 6e 67 a0 a0 20 4f 55 54 | 44 20 20 20 20 20 64 65 |ng.. OUT|D de|
|00004c80| 63 72 65 6d 65 6e 74 69 | 6e 67 a0 20 4f 54 44 52 |crementi|ng. OTDR|
|00004c90| 20 20 20 20 20 64 65 63 | 72 65 6d 65 6e 74 69 6e | dec|rementin|
|00004ca0| 67 20 61 6e 64 20 72 65 | 70 65 61 74 69 6e 67 a0 |g and re|peating.|
|00004cb0| a0 20 54 68 65 20 20 5a | 65 72 6f 20 20 66 6c 61 |. The Z|ero fla|
|00004cc0| 67 20 20 69 6e 64 69 63 | 61 74 65 73 20 20 42 3d |g indic|ates B=|
|00004cd0| 30 20 20 69 6e 20 74 68 | 65 73 65 63 61 73 65 73 |0 in th|esecases|
|00004ce0| a3 20 20 20 20 20 20 20 | 20 20 45 58 41 4d 50 4c |. | EXAMPL|
|00004cf0| 45 20 4f 46 20 42 4c 4f | 43 4b 20 49 4e 50 55 54 |E OF BLO|CK INPUT|
|00004d00| a0 a0 20 42 65 63 61 75 | 73 65 20 20 61 20 20 72 |.. Becau|se a r|
|00004d10| 65 70 65 61 74 65 64 20 | 20 20 62 6c 6f 63 6b 20 |epeated | block |
|00004d20| 20 69 6e 70 75 74 20 69 | 73 20 73 6f 66 61 73 74 | input i|s sofast|
|00004d30| 20 74 68 65 20 77 68 6f | 6c 65 20 62 6c 6f 63 6b | the who|le block|
|00004d40| 20 6f 66 20 6d 65 6d 6f | 72 79 20 20 69 73 20 20 | of memo|ry is |
|00004d50| 6c 69 6b 65 6c 79 74 6f | 20 62 65 20 20 66 69 6c |likelyto| be fil|
|00004d60| 6c 65 64 20 77 69 74 68 | 20 20 74 68 65 20 20 73 |led with| the s|
|00004d70| 69 6e 67 6c 65 20 6b 65 | 79 20 70 72 65 73 73 2e |ingle ke|y press.|
|00004d80| 49 74 20 64 6f 65 73 20 | 68 6f 77 65 76 65 72 20 |It does |however |
|00004d90| 69 6c 6c 75 73 74 72 61 | 74 65 20 20 74 68 65 20 |illustra|te the |
|00004da0| 6f 70 65 72 61 74 69 6f | 6e 2e 20 54 72 79 20 64 |operatio|n. Try d|
|00004db0| 69 66 66 65 72 65 6e 74 | 20 6b 65 79 73 20 61 73 |ifferent| keys as|
|00004dc0| 20 62 65 66 6f 72 65 2e | a3 20 4c 44 20 45 2c 38 | before.|. LD E,8|
|00004dd0| a0 20 20 4c 44 20 43 2c | 46 45 48 a0 20 4c 4f 4f |. LD C,|FEH. LOO|
|00004de0| 50 20 20 4c 44 20 42 2c | 33 32 a0 20 20 4c 44 20 |P LD B,|32. LD |
|00004df0| 48 4c 2c 35 38 30 30 48 | a0 20 20 49 4e 49 a0 20 |HL,5800H|. INI. |
|00004e00| 20 49 4e 49 a0 20 20 49 | 4e 49 52 a0 20 20 4c 44 | INI. I|NIR. LD|
|00004e10| 20 48 4c 2c 35 38 31 46 | 48 a0 20 20 4c 44 20 42 | HL,581F|H. LD B|
|00004e20| 2c 32 30 48 a0 20 20 49 | 4e 44 52 a0 20 20 44 45 |,20H. I|NDR. DE|
|00004e30| 43 20 45 a0 20 20 4a 52 | 20 4e 5a 2c 4c 4f 4f 50 |C E. JR| NZ,LOOP|
|00004e40| a0 20 20 52 45 54 a0 20 | 20 a0 20 20 a0 20 20 20 |. RET. | . . |
|00004e50| 20 20 20 20 50 52 4f 43 | 45 53 53 4f 52 20 43 4f | PROC|ESSOR CO|
|00004e60| 4e 54 52 4f 4c 20 49 4e | 53 54 52 55 43 54 49 4f |NTROL IN|STRUCTIO|
|00004e70| 4e 53 a0 a0 20 54 68 69 | 73 20 67 72 6f 75 70 20 |NS.. Thi|s group |
|00004e80| 6f 66 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 2c |of instr|uctions,|
|00004e90| 20 74 6f 67 65 74 68 65 | 72 20 77 69 74 68 74 68 | togethe|r withth|
|00004ea0| 65 20 20 69 6e 74 65 72 | 72 75 70 74 20 20 69 6e |e inter|rupt in|
|00004eb0| 73 74 72 75 63 74 69 6f | 6e 73 2c 20 63 6f 6e 74 |structio|ns, cont|
|00004ec0| 72 6f 6c 20 20 74 68 65 | 61 63 74 69 6f 6e 20 6f |rol the|action o|
|00004ed0| 66 20 74 68 65 20 70 72 | 6f 63 65 73 73 6f 72 2e |f the pr|ocessor.|
|00004ee0| a0 a0 20 4e 4f 50 20 6f | 72 20 4e 6f 20 4f 50 65 |.. NOP o|r No OPe|
|00004ef0| 72 61 74 69 6f 6e 20 20 | 63 61 75 73 65 73 20 74 |ration |causes t|
|00004f00| 68 65 20 70 72 6f 63 65 | 73 73 6f 72 74 6f 20 64 |he proce|ssorto d|
|00004f10| 6f 20 6e 6f 74 68 69 6e | 67 20 66 6f 72 20 6f 6e |o nothin|g for on|
|00004f20| 65 20 73 74 65 70 2e 20 | 53 69 6e 63 65 20 69 74 |e step. |Since it|
|00004f30| 73 20 63 6f 64 65 69 73 | 20 30 2c 20 61 20 20 63 |s codeis| 0, a c|
|00004f40| 6c 65 61 72 65 64 20 20 | 20 6d 65 6d 6f 72 79 20 |leared | memory |
|00004f50| 20 20 61 72 65 61 20 20 | 77 69 6c 6c 20 20 62 65 | area |will be|
|00004f60| 73 65 71 75 65 6e 63 65 | 64 20 20 20 20 74 68 72 |sequence|d thr|
|00004f70| 6f 75 67 68 20 20 20 75 | 6e 74 69 6c 20 20 61 20 |ough u|ntil a |
|00004f80| 20 20 6e 6f 6e 2d 7a 65 | 72 6f 69 6e 73 74 72 75 | non-ze|roinstru|
|00004f90| 63 74 69 6f 6e 20 69 73 | 20 66 6f 75 6e 64 2e a0 |ction is| found..|
|00004fa0| a0 20 48 41 4c 54 20 20 | 20 73 74 6f 70 73 20 20 |. HALT | stops |
|00004fb0| 20 74 68 65 20 20 20 73 | 65 71 75 65 6e 63 69 6e | the s|equencin|
|00004fc0| 67 20 20 6f 66 20 20 20 | 74 68 65 70 72 6f 63 65 |g of |theproce|
|00004fd0| 73 73 6f 72 20 20 75 6e | 74 69 6c 20 20 61 6e 20 |ssor un|til an |
|00004fe0| 69 6e 74 65 72 72 75 70 | 74 20 69 73 20 72 65 63 |interrup|t is rec|
|00004ff0| 65 69 76 65 64 28 20 73 | 65 65 20 6e 65 78 74 20 |eived( s|ee next |
|00005000| 6c 65 73 73 6f 6e 20 29 | 2e 20 41 66 74 65 72 20 |lesson )|. After |
|00005010| 20 74 68 65 20 20 69 6e | 74 65 72 72 75 70 74 68 | the in|terrupth|
|00005020| 61 73 20 62 65 65 6e 20 | 64 65 61 6c 74 20 77 69 |as been |dealt wi|
|00005030| 74 68 2c 20 74 68 65 20 | 69 6e 73 74 72 75 63 74 |th, the |instruct|
|00005040| 69 6f 6e 20 61 66 74 65 | 72 74 68 65 20 20 48 41 |ion afte|rthe HA|
|00005050| 4c 54 20 69 73 20 70 65 | 72 66 6f 72 6d 65 64 2e |LT is pe|rformed.|
|00005060| 20 20 54 68 75 73 20 20 | 74 68 65 20 70 72 6f 67 | Thus |the prog|
|00005070| 72 61 6d 63 61 6e 20 20 | 62 65 20 20 20 73 79 6e |ramcan |be syn|
|00005080| 63 68 72 6f 6e 69 73 65 | 64 20 20 20 77 69 74 68 |chronise|d with|
|00005090| 20 20 20 6f 70 65 72 61 | 74 69 6f 6e 73 6f 75 74 | opera|tionsout|
|000050a0| 73 69 64 65 20 74 68 65 | 20 70 72 6f 63 65 73 73 |side the| process|
|000050b0| 6f 72 2e a3 20 41 73 20 | 77 65 6c 6c 20 61 73 20 |or.. As |well as |
|000050c0| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 43 41 4c |the stan|dard CAL|
|000050d0| 4c 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 74 68 |L instru|ctionsth|
|000050e0| 61 74 20 20 69 6e 63 6f | 72 70 6f 72 61 74 65 20 |at inco|rporate |
|000050f0| 74 68 65 20 61 64 64 72 | 65 73 73 20 74 6f 20 77 |the addr|ess to w|
|00005100| 68 69 63 68 20 74 68 65 | 70 72 6f 63 65 73 73 6f |hich the|processo|
|00005110| 72 20 20 20 69 73 20 20 | 74 6f 20 20 20 6a 75 6d |r is |to jum|
|00005120| 70 2c 20 20 74 68 65 20 | 20 20 5a 38 30 20 20 68 |p, the | Z80 h|
|00005130| 61 73 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 20 69 |asinstru|ctions i|
|00005140| 6e 20 20 77 68 69 63 68 | 20 20 74 68 65 20 61 64 |n which| the ad|
|00005150| 64 72 65 73 73 20 6f 66 | 20 74 68 65 43 41 4c 4c |dress of| theCALL|
|00005160| 20 69 73 20 20 69 6d 70 | 6c 69 65 64 2e 20 20 54 | is imp|lied. T|
|00005170| 68 65 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |he instr|uctions |
|00005180| 20 52 53 54 20 6e 28 77 | 68 65 72 65 20 6e 3d 30 | RST n(w|here n=0|
|00005190| 30 48 2c 20 30 38 48 2c | 20 31 30 48 2c 20 31 38 |0H, 08H,| 10H, 18|
|000051a0| 48 2c 20 32 30 48 2c 20 | 32 38 48 2c 20 33 30 48 |H, 20H, |28H, 30H|
|000051b0| 6f 72 20 33 38 48 20 29 | 20 20 63 61 6c 6c 73 20 |or 38H )| calls |
|000051c0| 20 74 68 65 20 20 72 6f | 75 74 69 6e 65 20 61 74 | the ro|utine at|
|000051d0| 20 20 30 30 6e 20 20 68 | 65 78 64 69 72 65 63 74 | 00n h|exdirect|
|000051e0| 6c 79 2e 20 20 69 2e 65 | 2e 20 52 53 54 20 32 38 |ly. i.e|. RST 28|
|000051f0| 48 20 20 69 73 20 20 65 | 71 75 69 76 61 6c 65 6e |H is e|quivalen|
|00005200| 74 20 74 6f 43 41 4c 4c | 20 30 30 32 38 48 2e a0 |t toCALL| 0028H..|
|00005210| a0 20 54 68 65 69 72 20 | 20 70 72 69 6d 65 20 20 |. Their | prime |
|00005220| 75 73 65 20 20 6f 6e 20 | 20 20 73 6f 6d 65 20 20 |use on | some |
|00005230| 73 79 73 74 65 6d 73 20 | 20 69 73 74 6f 20 20 20 |systems | isto |
|00005240| 61 6c 6c 6f 77 20 20 20 | 65 78 74 65 72 6e 61 6c |allow |external|
|00005250| 20 20 68 61 72 64 77 61 | 72 65 20 20 74 6f 20 20 | hardwa|re to |
|00005260| 66 6f 72 63 65 74 68 65 | 20 20 73 69 6e 67 6c 65 |forcethe| single|
|00005270| 20 20 20 62 79 74 65 20 | 20 69 6e 73 74 72 75 63 | byte | instruc|
|00005280| 74 69 6f 6e 73 20 69 6e | 74 6f 20 20 74 68 65 70 |tions in|to thep|
|00005290| 72 6f 63 65 73 73 6f 72 | 2c 20 20 74 68 75 73 20 |rocessor|, thus |
|000052a0| 20 20 6d 61 6b 69 6e 67 | 20 20 69 74 20 20 20 74 | making| it t|
|000052b0| 68 69 6e 6b 20 20 69 74 | 73 6e 65 78 74 20 69 6e |hink it|snext in|
|000052c0| 73 74 72 75 63 74 69 6f | 6e 20 69 73 20 61 6e 20 |structio|n is an |
|000052d0| 52 53 54 20 6e 2e 20 49 | 74 20 74 68 65 72 65 66 |RST n. I|t theref|
|000052e0| 6f 72 65 66 6f 72 6d 73 | 20 20 61 20 20 20 6d 65 |oreforms| a me|
|000052f0| 74 68 6f 64 20 20 6f 66 | 20 20 20 69 6e 74 65 72 |thod of| inter|
|00005300| 72 75 70 74 69 6e 67 20 | 20 20 74 68 65 70 72 6f |rupting | thepro|
|00005310| 63 65 73 73 6f 72 2e 20 | 28 73 65 65 20 74 68 65 |cessor. |(see the|
|00005320| 20 6c 65 73 73 6f 6e 20 | 6f 6e 20 69 6e 74 65 72 | lesson |on inter|
|00005330| 72 75 70 74 73 29 2e a3 | 20 53 69 6e 63 65 20 61 |rupts)..| Since a|
|00005340| 6c 6c 20 52 53 54 20 63 | 61 6c 6c 73 20 61 72 65 |ll RST c|alls are|
|00005350| 20 74 6f 20 74 68 65 20 | 20 62 65 67 69 6e 6e 69 | to the | beginni|
|00005360| 6e 67 6f 66 20 6d 65 6d | 6f 72 79 20 28 70 61 67 |ngof mem|ory (pag|
|00005370| 65 20 30 29 20 61 6e 64 | 20 20 74 68 69 73 20 20 |e 0) and| this |
|00005380| 61 72 65 61 20 6f 6e 20 | 20 74 68 65 53 70 65 63 |area on | theSpec|
|00005390| 74 72 75 6d 20 69 73 20 | 20 52 4f 4d 2c 20 20 61 |trum is | ROM, a|
|000053a0| 6c 6c 20 74 68 65 20 63 | 61 6c 6c 73 20 68 61 76 |ll the c|alls hav|
|000053b0| 65 20 62 65 65 6e 64 65 | 66 69 6e 65 64 20 20 20 |e beende|fined |
|000053c0| 69 2e 65 2e 20 52 53 54 | 20 30 30 48 20 20 69 73 |i.e. RST| 00H is|
|000053d0| 20 20 65 71 75 69 76 61 | 6c 65 6e 74 20 20 74 6f | equiva|lent to|
|000053e0| 4e 45 57 2c 20 74 68 61 | 74 20 20 63 6c 65 61 72 |NEW, tha|t clear|
|000053f0| 73 20 20 6f 75 74 20 20 | 61 6c 6c 20 74 68 65 20 |s out |all the |
|00005400| 6d 65 6d 6f 72 79 20 61 | 6e 64 72 65 2d 65 73 74 |memory a|ndre-est|
|00005410| 61 62 6c 69 73 68 65 73 | 20 20 74 68 65 20 20 73 |ablishes| the s|
|00005420| 79 73 74 65 6d 2e 20 20 | 4e 65 65 64 6c 65 73 73 |ystem. |Needless|
|00005430| 20 20 74 6f 73 61 79 20 | 20 74 68 65 20 73 69 6d | tosay | the sim|
|00005440| 75 6c 61 74 6f 72 20 64 | 6f 65 73 20 20 6e 6f 74 |ulator d|oes not|
|00005450| 20 20 70 65 72 66 6f 72 | 6d 20 20 52 53 54 69 6e | perfor|m RSTin|
|00005460| 73 74 72 75 63 74 69 6f | 6e 73 2e a0 a0 20 54 68 |structio|ns... Th|
|00005470| 65 72 65 20 61 72 65 20 | 6f 6e 6c 79 20 74 77 6f |ere are |only two|
|00005480| 20 6d 6f 72 65 20 72 65 | 67 69 73 74 65 72 73 20 | more re|gisters |
|00005490| 69 6e 20 20 74 68 65 5a | 38 30 20 20 20 74 6f 20 |in theZ|80 to |
|000054a0| 20 64 69 73 63 75 73 73 | 2c 20 20 20 74 68 65 20 | discuss|, the |
|000054b0| 20 49 20 20 6f 72 20 20 | 49 6e 74 65 72 72 75 70 | I or |Interrup|
|000054c0| 74 72 65 67 69 73 74 65 | 72 20 28 73 65 65 20 6e |tregiste|r (see n|
|000054d0| 65 78 74 20 6c 65 73 73 | 6f 6e 29 2c 20 20 61 6e |ext less|on), an|
|000054e0| 64 20 74 68 65 20 20 52 | 20 6f 72 52 65 66 72 65 |d the R| orRefre|
|000054f0| 73 68 20 72 65 67 69 73 | 74 65 72 2e a3 20 54 68 |sh regis|ter.. Th|
|00005500| 65 20 20 52 65 66 72 65 | 73 68 20 20 72 65 67 69 |e Refre|sh regi|
|00005510| 73 74 65 72 20 69 73 20 | 20 75 73 65 64 20 20 62 |ster is | used b|
|00005520| 79 20 20 73 6f 6d 65 66 | 6f 72 6d 73 20 20 6f 66 |y somef|orms of|
|00005530| 20 20 20 52 61 6e 64 6f | 6d 20 20 20 41 63 63 65 | Rando|m Acce|
|00005540| 73 73 20 20 4d 65 6d 6f | 72 79 20 20 77 68 69 63 |ss Memo|ry whic|
|00005550| 68 72 65 71 75 69 72 65 | 20 63 6f 6e 74 69 6e 75 |hrequire| continu|
|00005560| 6f 75 73 20 77 72 69 74 | 69 6e 67 20 74 6f 20 6d |ous writ|ing to m|
|00005570| 61 69 6e 74 61 69 6e 20 | 69 74 73 69 6e 66 6f 72 |aintain |itsinfor|
|00005580| 6d 61 74 69 6f 6e 2e 20 | 54 68 65 20 52 20 72 65 |mation. |The R re|
|00005590| 67 69 73 74 65 72 20 69 | 73 20 69 6e 63 72 65 6d |gister i|s increm|
|000055a0| 65 6e 74 65 64 61 75 74 | 6f 6d 61 74 69 63 61 6c |entedaut|omatical|
|000055b0| 6c 79 20 20 65 76 65 72 | 79 20 20 74 69 6d 65 20 |ly ever|y time |
|000055c0| 20 74 68 65 20 20 70 72 | 6f 63 65 73 73 6f 72 66 | the pr|ocessorf|
|000055d0| 65 74 63 68 65 73 20 20 | 65 61 63 68 20 20 20 70 |etches |each p|
|000055e0| 61 72 74 20 20 6f 66 20 | 20 61 6e 20 20 20 69 6e |art of | an in|
|000055f0| 73 74 72 75 63 74 69 6f | 6e 66 72 6f 6d 20 6d 65 |structio|nfrom me|
|00005600| 6d 6f 72 79 2e 20 54 68 | 69 73 20 70 72 6f 76 69 |mory. Th|is provi|
|00005610| 64 65 73 20 74 68 65 20 | 20 70 72 6f 67 72 61 6d |des the | program|
|00005620| 6d 65 72 77 69 74 68 20 | 20 61 20 72 65 67 69 73 |merwith | a regis|
|00005630| 74 65 72 20 20 77 68 6f | 73 65 20 20 63 6f 6e 74 |ter who|se cont|
|00005640| 65 6e 74 73 20 20 6d 61 | 79 20 20 62 65 63 6f 6e |ents ma|y becon|
|00005650| 73 69 64 65 72 65 64 20 | 72 61 6e 64 6f 6d 20 66 |sidered |random f|
|00005660| 6f 72 20 73 6f 6d 65 20 | 61 70 70 6c 69 63 61 74 |or some |applicat|
|00005670| 69 6f 6e 73 2e a0 a0 20 | 54 68 65 20 20 52 20 61 |ions... |The R a|
|00005680| 6e 64 20 49 20 72 65 67 | 69 73 74 65 72 73 20 63 |nd I reg|isters c|
|00005690| 61 6e 20 62 65 20 6c 6f | 61 64 65 64 20 66 72 6f |an be lo|aded fro|
|000056a0| 6d 74 68 65 20 41 63 63 | 75 6d 75 6c 61 74 6f 72 |mthe Acc|umulator|
|000056b0| 2e 20 54 68 65 20 69 6e | 73 74 72 75 63 74 69 6f |. The in|structio|
|000056c0| 6e 73 20 69 6e 76 6f 6c | 76 65 64 61 72 65 20 73 |ns invol|vedare s|
|000056d0| 69 6d 70 6c 79 20 20 4c | 44 20 41 2c 52 20 3a 20 |imply L|D A,R : |
|000056e0| 20 4c 44 20 52 2c 41 20 | 20 3a 20 20 4c 44 41 2c | LD R,A | : LDA,|
|000056f0| 49 20 61 6e 64 4c 44 20 | 49 2c 41 2e a3 20 53 75 |I andLD |I,A.. Su|
|00005700| 6d 6d 61 72 79 20 2d 20 | 70 72 6f 63 65 73 73 6f |mmary - |processo|
|00005710| 72 20 63 6f 6e 74 72 6f | 6c 20 69 6e 73 74 72 75 |r contro|l instru|
|00005720| 63 74 69 6f 6e 73 a0 a0 | 4e 4f 50 20 a0 48 41 4c |ctions..|NOP .HAL|
|00005730| 54 a0 a0 52 53 54 20 6e | 20 20 77 68 65 72 65 20 |T..RST n| where |
|00005740| 6e 20 3d 20 30 30 48 2c | 20 30 38 48 2c 20 31 30 |n = 00H,| 08H, 10|
|00005750| 48 2c 20 31 38 48 2c 20 | 32 30 48 2c 20 20 20 20 |H, 18H, |20H, |
|00005760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 32 38 | | 28|
|00005770| 48 2c 20 33 30 48 2c 20 | 6f 72 20 33 38 48 2e a0 |H, 30H, |or 38H..|
|00005780| a0 4c 44 20 41 2c 52 a0 | 4c 44 20 52 2c 41 a0 a0 |.LD A,R.|LD R,A..|
|00005790| 4c 44 20 41 2c 49 a0 4c | 44 20 49 2c 41 a3 20 20 |LD A,I.L|D I,A. |
|000057a0| 20 20 45 58 41 4d 50 4c | 45 20 4f 46 20 55 53 45 | EXAMPL|E OF USE|
|000057b0| 20 4f 46 20 52 45 46 52 | 45 53 48 20 52 45 47 49 | OF REFR|ESH REGI|
|000057c0| 53 54 45 52 a0 a0 20 4d | 6f 73 74 20 6f 66 20 74 |STER.. M|ost of t|
|000057d0| 68 65 20 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 20 |he inst|ruction |
|000057e0| 69 6e 20 74 68 69 73 20 | 61 6e 64 20 20 74 68 65 |in this |and the|
|000057f0| 6c 61 73 74 20 20 6c 65 | 73 73 6f 6e 20 69 6e 76 |last le|sson inv|
|00005800| 6f 6c 76 65 20 73 74 65 | 70 73 20 74 68 61 74 20 |olve ste|ps that |
|00005810| 63 68 61 6e 67 65 20 74 | 68 65 65 6e 76 69 72 6f |change t|heenviro|
|00005820| 6e 6d 65 6e 74 20 20 20 | 69 6e 20 20 20 77 68 69 |nment |in whi|
|00005830| 63 68 20 20 20 74 68 65 | 20 20 20 70 72 6f 63 65 |ch the| proce|
|00005840| 73 73 6f 72 6f 70 65 72 | 61 74 65 73 2e 20 20 49 |ssoroper|ates. I|
|00005850| 74 20 69 73 20 20 74 68 | 65 72 65 66 6f 72 65 20 |t is th|erefore |
|00005860| 20 64 69 66 66 69 63 75 | 6c 74 20 20 74 6f 73 69 | difficu|lt tosi|
|00005870| 6d 75 6c 61 74 65 20 74 | 68 65 73 65 20 69 6e 73 |mulate t|hese ins|
|00005880| 74 72 75 63 74 69 6f 6e | 73 2e 20 4c 69 74 74 6c |truction|s. Littl|
|00005890| 65 20 63 61 6e 20 62 65 | 6c 65 61 72 6e 74 20 66 |e can be|learnt f|
|000058a0| 72 6f 6d 20 20 73 69 6e | 67 6c 65 20 20 73 74 65 |rom sin|gle ste|
|000058b0| 70 70 69 6e 67 20 20 74 | 68 72 6f 75 67 68 20 20 |pping t|hrough |
|000058c0| 61 6e 65 78 61 6d 70 6c | 65 2e 20 20 48 6f 77 65 |anexampl|e. Howe|
|000058d0| 76 65 72 20 63 68 61 6e | 67 69 6e 67 20 69 6e 74 |ver chan|ging int|
|000058e0| 65 72 72 75 70 74 20 6d | 6f 64 65 73 65 74 63 2e |errupt m|odesetc.|
|000058f0| 20 28 20 73 65 65 20 6e | 65 78 74 20 6c 65 73 73 | ( see n|ext less|
|00005900| 6f 6e 20 29 20 20 20 6f | 6e 20 20 61 20 20 50 65 |on ) o|n a Pe|
|00005910| 72 73 6f 6e 61 6c 43 6f | 6d 70 75 74 65 72 20 20 |rsonalCo|mputer |
|00005920| 69 73 20 20 61 64 76 61 | 6e 63 65 64 20 20 70 72 |is adva|nced pr|
|00005930| 6f 67 72 61 6d 6d 69 6e | 67 2e 20 20 20 54 72 79 |ogrammin|g. Try|
|00005940| 67 61 69 6e 69 6e 67 20 | 20 20 65 78 70 65 72 69 |gaining | experi|
|00005950| 65 6e 63 65 20 20 20 6f | 6e 20 20 20 6d 61 63 68 |ence o|n mach|
|00005960| 69 6e 65 20 20 20 63 6f | 64 65 70 72 6f 67 72 61 |ine co|deprogra|
|00005970| 6d 6d 69 6e 67 20 20 62 | 65 66 6f 72 65 20 20 76 |mming b|efore v|
|00005980| 65 6e 74 75 72 69 6e 67 | 20 20 69 6e 74 6f 20 20 |enturing| into |
|00005990| 74 68 69 73 66 69 65 6c | 64 2e a0 a0 20 54 68 65 |thisfiel|d... The|
|000059a0| 20 65 78 61 6d 70 6c 65 | 20 73 68 6f 77 73 20 74 | example| shows t|
|000059b0| 68 65 20 75 73 65 20 6f | 66 20 74 68 65 20 20 52 |he use o|f the R|
|000059c0| 65 66 72 65 73 68 72 65 | 67 69 73 74 65 72 20 61 |efreshre|gister a|
|000059d0| 73 20 61 20 73 6f 75 72 | 63 65 20 6f 66 20 72 61 |s a sour|ce of ra|
|000059e0| 6e 64 6f 6d 20 6e 75 6d | 62 65 72 73 2e a3 20 4e |ndom num|bers.. N|
|000059f0| 4f 50 a0 20 4c 4f 4f 50 | 20 20 4c 44 20 41 2c 52 |OP. LOOP| LD A,R|
|00005a00| a0 20 20 4a 52 20 4c 4f | 4f 50 a0 20 20 a0 20 20 |. JR LO|OP. . |
|00005a10| a0 20 20 a0 20 20 a0 20 | 20 a0 20 20 a0 20 20 a0 |. . . | . . .|
|00005a20| 20 20 a0 20 20 a0 20 20 | a0 20 20 a0 20 20 a0 20 | . . |. . . |
|00005a30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 49 | | I|
|00005a40| 4e 54 45 52 52 55 50 54 | 53 a0 a0 20 41 6e 20 69 |NTERRUPT|S.. An i|
|00005a50| 6e 74 65 72 72 75 70 74 | 20 20 6f 72 69 67 69 6e |nterrupt| origin|
|00005a60| 61 74 65 73 20 66 72 6f | 6d 20 6f 75 74 73 69 64 |ates fro|m outsid|
|00005a70| 65 20 74 68 65 70 72 6f | 63 65 73 73 6f 72 2c 20 |e thepro|cessor, |
|00005a80| 20 72 65 71 75 65 73 74 | 69 6e 67 20 69 74 20 74 | request|ing it t|
|00005a90| 6f 20 62 72 65 61 6b 20 | 6f 66 66 20 69 74 73 63 |o break |off itsc|
|00005aa0| 75 72 72 65 6e 74 20 20 | 73 65 71 75 65 6e 63 65 |urrent |sequence|
|00005ab0| 20 6f 66 20 20 6f 70 65 | 72 61 74 69 6f 6e 73 20 | of ope|rations |
|00005ac0| 20 61 6e 64 20 64 65 61 | 6c 77 69 74 68 20 73 6f | and dea|lwith so|
|00005ad0| 6d 65 20 6f 74 68 65 72 | 20 66 75 6e 63 74 69 6f |me other| functio|
|00005ae0| 6e 2e a0 a0 20 49 6e 74 | 65 72 72 75 70 74 73 20 |n... Int|errupts |
|00005af0| 20 66 61 6c 6c 20 20 69 | 6e 74 6f 20 20 74 77 6f | fall i|nto two|
|00005b00| 20 20 74 79 70 65 73 2c | 20 20 4e 6f 6e 2d 4d 61 | types,| Non-Ma|
|00005b10| 73 6b 61 62 6c 65 20 49 | 6e 74 65 72 72 75 70 74 |skable I|nterrupt|
|00005b20| 73 20 28 4e 4d 49 29 20 | 20 61 6e 64 20 20 20 20 |s (NMI) | and |
|00005b30| 4d 61 73 6b 61 62 6c 65 | 49 6e 74 65 72 72 75 70 |Maskable|Interrup|
|00005b40| 74 73 20 28 4d 49 29 2e | 20 4d 61 73 6b 61 62 6c |ts (MI).| Maskabl|
|00005b50| 65 20 69 6e 74 65 72 72 | 75 70 74 20 63 61 6e 20 |e interr|upt can |
|00005b60| 62 65 69 67 6e 6f 72 65 | 64 20 62 79 20 74 68 65 |beignore|d by the|
|00005b70| 20 73 6f 66 74 77 61 72 | 65 2c 20 62 75 74 20 4e | softwar|e, but N|
|00005b80| 4d 49 73 20 63 61 6e 6e | 6f 74 2e a0 a0 20 4f 6e |MIs cann|ot... On|
|00005b90| 65 20 20 4e 6f 6e 2d 4d | 61 73 6b 61 62 6c 65 20 |e Non-M|askable |
|00005ba0| 20 49 6e 74 65 72 72 75 | 70 74 20 69 73 20 61 76 | Interru|pt is av|
|00005bb0| 61 69 6c 61 62 6c 65 6f | 6e 20 20 20 74 68 65 20 |ailableo|n the |
|00005bc0| 20 20 5a 38 30 20 20 20 | 63 68 69 70 2e 20 20 20 | Z80 |chip. |
|00005bd0| 20 20 54 68 65 20 20 20 | 69 6e 74 65 72 72 75 70 | The |interrup|
|00005be0| 74 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 20 |tautomat|ically |
|00005bf0| 70 65 72 66 6f 72 6d 73 | 20 61 6e 20 20 52 53 54 |performs| an RST|
|00005c00| 20 6f 72 20 43 41 4c 4c | 20 74 6f 61 64 64 72 65 | or CALL| toaddre|
|00005c10| 73 73 20 30 30 36 36 48 | 20 6f 6e 20 63 6f 6d 70 |ss 0066H| on comp|
|00005c20| 6c 65 74 69 6f 6e 20 6f | 66 20 74 68 65 20 63 75 |letion o|f the cu|
|00005c30| 72 72 65 6e 74 69 6e 73 | 74 72 75 63 74 69 6f 6e |rrentins|truction|
|00005c40| 73 2e 20 20 54 68 65 20 | 20 72 6f 75 74 69 6e 65 |s. The | routine|
|00005c50| 20 20 61 74 20 20 30 30 | 36 36 48 20 20 69 73 70 | at 00|66H isp|
|00005c60| 65 72 66 6f 72 6d 65 64 | 2e 20 20 54 68 65 20 69 |erformed|. The i|
|00005c70| 6e 73 74 72 75 63 74 69 | 6f 6e 20 52 45 54 4e 20 |nstructi|on RETN |
|00005c80| 6f 72 20 52 45 54 75 72 | 6e 66 72 6f 6d 20 20 20 |or RETur|nfrom |
|00005c90| 20 4e 6f 6e 2d 6d 61 73 | 6b 61 62 6c 65 20 20 20 | Non-mas|kable |
|00005ca0| 69 6e 74 65 72 72 75 70 | 74 20 20 20 72 65 74 75 |interrup|t retu|
|00005cb0| 72 6e 73 63 6f 6e 74 72 | 6f 6c 20 62 61 63 6b 20 |rnscontr|ol back |
|00005cc0| 74 6f 20 74 68 65 20 69 | 6e 74 65 72 72 75 70 74 |to the i|nterrupt|
|00005cd0| 65 64 20 72 6f 75 74 69 | 6e 65 20 61 74 69 74 73 |ed routi|ne atits|
|00005ce0| 20 6e 65 78 74 20 69 6e | 73 74 72 75 63 74 69 6f | next in|structio|
|00005cf0| 6e 20 2e a3 54 68 65 20 | 20 70 72 6f 67 72 61 6d |n ..The | program|
|00005d00| 6d 65 72 20 20 63 61 6e | 20 61 72 72 61 6e 67 65 |mer can| arrange|
|00005d10| 20 74 68 61 74 20 6d 61 | 73 6b 61 62 6c 65 69 6e | that ma|skablein|
|00005d20| 74 65 72 72 75 70 74 73 | 20 20 28 4d 49 29 20 61 |terrupts| (MI) a|
|00005d30| 72 65 20 69 67 6e 6f 72 | 65 64 2e 20 20 20 57 69 |re ignor|ed. Wi|
|00005d40| 74 68 69 6e 20 74 68 65 | 5a 38 30 20 74 68 65 72 |thin the|Z80 ther|
|00005d50| 65 20 69 73 20 61 20 66 | 6c 61 67 2c 20 20 74 68 |e is a f|lag, th|
|00005d60| 65 20 69 6e 74 65 72 72 | 75 70 74 20 65 6e 61 62 |e interr|upt enab|
|00005d70| 6c 65 66 6c 61 67 2c 20 | 20 20 74 68 61 74 20 20 |leflag, | that |
|00005d80| 63 61 6e 20 20 62 65 20 | 20 20 73 65 74 20 20 61 |can be | set a|
|00005d90| 6e 64 20 20 63 6c 65 61 | 72 65 64 2e 44 65 70 65 |nd clea|red.Depe|
|00005da0| 6e 64 69 6e 67 20 75 70 | 6f 6e 20 74 68 65 20 73 |nding up|on the s|
|00005db0| 74 61 74 65 20 6f 66 20 | 74 68 69 73 20 20 66 6c |tate of |this fl|
|00005dc0| 61 67 20 20 4d 49 77 69 | 6c 6c 20 62 65 20 61 63 |ag MIwi|ll be ac|
|00005dd0| 63 65 70 74 65 64 20 6f | 72 20 69 67 6e 6f 72 65 |cepted o|r ignore|
|00005de0| 64 2e a0 a0 20 54 68 65 | 20 74 77 6f 20 69 6e 73 |d... The| two ins|
|00005df0| 74 72 75 63 74 69 6f 6e | 73 20 74 68 61 74 20 6d |truction|s that m|
|00005e00| 61 6e 69 70 75 6c 61 74 | 65 20 74 68 69 73 66 6c |anipulat|e thisfl|
|00005e10| 61 67 20 61 72 65 a0 a0 | 20 45 49 20 20 20 20 45 |ag are..| EI E|
|00005e20| 6e 61 62 6c 65 20 49 6e | 74 65 72 72 75 70 74 73 |nable In|terrupts|
|00005e30| 2e 20 20 20 41 66 74 65 | 72 20 6f 6e 65 20 6d 6f |. Afte|r one mo|
|00005e40| 72 65 20 20 20 20 20 20 | 20 73 69 6e 67 6c 65 20 |re | single |
|00005e50| 20 62 79 74 65 20 20 69 | 6e 73 74 72 75 63 74 69 | byte i|nstructi|
|00005e60| 6f 6e 2c 20 20 66 75 72 | 74 68 65 72 20 20 20 20 |on, fur|ther |
|00005e70| 20 20 20 69 6e 74 65 72 | 72 75 70 74 73 20 61 72 | inter|rupts ar|
|00005e80| 65 20 61 63 63 65 70 74 | 65 64 2e a0 a0 20 44 49 |e accept|ed... DI|
|00005e90| 20 20 20 20 44 69 73 61 | 62 6c 65 20 49 6e 74 65 | Disa|ble Inte|
|00005ea0| 72 72 75 70 74 73 20 69 | 6d 6d 65 64 69 61 74 65 |rrupts i|mmediate|
|00005eb0| 6c 79 2e a0 a0 20 45 6e | 74 72 79 20 20 20 69 6e |ly... En|try in|
|00005ec0| 74 6f 20 20 20 61 20 20 | 20 20 6d 61 73 6b 61 62 |to a | maskab|
|00005ed0| 6c 65 20 20 20 20 69 6e | 74 65 72 72 75 70 74 61 |le in|terrupta|
|00005ee0| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 64 69 73 |utomatic|ally dis|
|00005ef0| 61 62 6c 65 73 20 69 6e | 74 65 72 72 75 70 74 2e |ables in|terrupt.|
|00005f00| a3 54 68 72 65 65 20 20 | 20 74 79 70 65 73 2c 20 |.Three | types, |
|00005f10| 20 20 6f 72 20 20 20 6d | 6f 64 65 73 2c 20 20 6f | or m|odes, o|
|00005f20| 66 20 20 6d 61 73 6b 61 | 62 6c 65 69 6e 74 65 72 |f maska|bleinter|
|00005f30| 72 75 70 74 73 20 61 72 | 65 20 61 76 61 69 6c 61 |rupts ar|e availa|
|00005f40| 62 6c 65 2e a0 a0 20 4d | 4f 44 45 20 30 20 69 73 |ble... M|ODE 0 is|
|00005f50| 20 73 65 74 20 62 79 20 | 20 74 68 65 20 20 69 6e | set by | the in|
|00005f60| 73 74 72 75 63 74 69 6f | 6e 20 20 49 4d 20 30 2e |structio|n IM 0.|
|00005f70| 54 68 69 73 20 6d 6f 64 | 65 20 69 73 20 74 68 65 |This mod|e is the|
|00005f80| 20 6f 6e 65 20 64 65 73 | 63 72 69 62 65 64 20 70 | one des|cribed p|
|00005f90| 72 65 76 69 6f 75 73 6c | 79 2c 77 68 65 72 65 20 |reviousl|y,where |
|00005fa0| 74 68 65 20 52 53 54 20 | 6e 20 69 6e 73 74 72 75 |the RST |n instru|
|00005fb0| 63 74 69 6f 6e 20 69 73 | 20 66 6f 72 63 65 64 20 |ction is| forced |
|00005fc0| 6f 6e 74 6f 74 68 65 20 | 20 64 61 74 61 20 20 68 |ontothe | data h|
|00005fd0| 69 67 68 77 61 79 20 74 | 6f 20 20 66 6f 6f 6c 20 |ighway t|o fool |
|00005fe0| 74 68 65 20 20 70 72 6f | 63 65 73 73 6f 72 69 6e |the pro|cessorin|
|00005ff0| 74 6f 20 70 65 72 66 6f | 72 6d 69 6e 67 20 74 68 |to perfo|rming th|
|00006000| 65 20 72 65 73 74 61 72 | 74 2e a0 a0 20 4d 4f 44 |e restar|t... MOD|
|00006010| 45 20 31 20 69 73 20 74 | 68 65 20 20 6f 6e 65 20 |E 1 is t|he one |
|00006020| 20 75 73 65 64 20 62 79 | 20 20 74 68 65 20 53 69 | used by| the Si|
|00006030| 6e 63 6c 61 69 72 73 79 | 73 74 65 6d 20 20 52 4f |nclairsy|stem RO|
|00006040| 4d 2e 20 20 49 74 20 69 | 73 20 73 65 74 20 62 79 |M. It i|s set by|
|00006050| 20 74 68 65 20 69 6e 73 | 74 72 75 63 74 69 6f 6e | the ins|truction|
|00006060| 49 4d 20 31 2e 20 54 68 | 69 73 20 6d 6f 64 65 20 |IM 1. Th|is mode |
|00006070| 69 73 20 73 69 6d 69 6c | 61 72 20 69 6e 20 6f 70 |is simil|ar in op|
|00006080| 65 72 61 74 69 6f 6e 20 | 74 6f 74 68 65 20 20 4e |eration |tothe N|
|00006090| 6f 6e 20 4d 61 73 6b 61 | 62 6c 65 20 49 6e 74 65 |on Maska|ble Inte|
|000060a0| 72 72 75 70 74 20 20 20 | 65 78 63 65 70 74 20 20 |rrupt |except |
|000060b0| 74 68 61 74 70 72 6f 63 | 65 73 73 6f 72 20 69 73 |thatproc|essor is|
|000060c0| 20 20 72 65 73 74 61 72 | 74 65 64 20 20 61 74 20 | restar|ted at |
|000060d0| 20 30 30 33 38 48 20 69 | 6e 73 74 65 61 64 6f 66 | 0038H i|nsteadof|
|000060e0| 20 30 30 36 36 48 20 61 | 73 20 69 6e 20 74 68 65 | 0066H a|s in the|
|000060f0| 20 4e 4d 49 2e a3 20 4d | 4f 44 45 20 32 20 69 73 | NMI.. M|ODE 2 is|
|00006100| 20 74 68 65 20 6d 6f 73 | 74 20 66 6c 65 78 69 62 | the mos|t flexib|
|00006110| 6c 65 2c 20 20 74 68 65 | 20 61 64 64 72 65 73 73 |le, the| address|
|00006120| 74 6f 20 20 77 68 69 63 | 68 20 20 74 68 65 20 20 |to whic|h the |
|00006130| 70 72 6f 63 65 73 73 6f | 72 20 69 73 20 66 6f 72 |processo|r is for|
|00006140| 63 65 64 20 69 73 20 74 | 68 65 69 6e 64 69 72 65 |ced is t|heindire|
|00006150| 63 74 20 20 20 61 64 64 | 72 65 73 73 20 20 20 68 |ct add|ress h|
|00006160| 65 6c 64 20 20 69 6e 20 | 20 20 61 20 20 20 6d 65 |eld in | a me|
|00006170| 6d 6f 72 79 6c 6f 63 61 | 74 69 6f 6e 2e 20 20 20 |moryloca|tion. |
|00006180| 54 68 65 20 20 61 64 64 | 72 65 73 73 20 20 6f 66 |The add|ress of|
|00006190| 20 20 74 68 69 73 20 20 | 6d 65 6d 6f 72 79 6c 6f | this |memorylo|
|000061a0| 63 61 74 69 6f 6e 20 20 | 69 73 20 20 63 6f 6d 70 |cation |is comp|
|000061b0| 75 74 65 64 20 20 66 72 | 6f 6d 20 20 74 68 65 20 |uted fr|om the |
|000061c0| 20 63 6f 6e 74 65 6e 74 | 6f 66 20 74 68 65 20 20 | content|of the |
|000061d0| 49 20 20 72 65 67 69 73 | 74 65 72 2c 20 20 77 68 |I regis|ter, wh|
|000061e0| 69 63 68 20 20 70 72 6f | 76 69 64 65 73 20 20 74 |ich pro|vides t|
|000061f0| 68 65 68 69 67 68 20 20 | 62 79 74 65 20 20 61 6e |hehigh |byte an|
|00006200| 64 20 20 74 68 65 20 20 | 69 6e 74 65 72 72 75 70 |d the |interrup|
|00006210| 74 69 6e 67 20 20 64 65 | 76 69 63 65 77 68 69 63 |ting de|vicewhic|
|00006220| 68 20 20 20 70 72 6f 76 | 69 64 65 73 20 20 74 68 |h prov|ides th|
|00006230| 65 20 20 6c 6f 77 20 20 | 20 62 79 74 65 2e 20 20 |e low | byte. |
|00006240| 20 53 69 6e 63 65 74 68 | 65 20 20 20 69 6e 74 65 | Sinceth|e inte|
|00006250| 72 72 75 70 74 20 20 20 | 72 6f 75 74 69 6e 65 20 |rrupt |routine |
|00006260| 20 20 69 73 20 20 20 61 | 64 64 72 65 73 73 65 64 | is a|ddressed|
|00006270| 69 6e 64 69 72 65 63 74 | 6c 79 20 20 74 68 65 20 |indirect|ly the |
|00006280| 20 20 69 6e 74 65 72 72 | 75 70 74 73 20 20 61 72 | interr|upts ar|
|00006290| 65 20 20 20 74 65 72 6d | 65 64 76 65 63 74 6f 72 |e term|edvector|
|000062a0| 65 64 20 69 6e 74 65 72 | 72 75 70 74 73 2e a0 a0 |ed inter|rupts...|
|000062b0| 20 41 6e 20 20 69 6e 74 | 65 72 72 75 70 74 20 20 | An int|errupt |
|000062c0| 63 61 6e 20 20 6f 63 63 | 75 72 20 20 61 74 20 20 |can occ|ur at |
|000062d0| 61 6e 79 20 20 74 69 6d | 65 2e 49 74 20 20 20 66 |any tim|e.It f|
|000062e0| 6f 6c 6c 6f 77 73 20 20 | 20 74 68 65 72 65 66 6f |ollows | therefo|
|000062f0| 72 65 20 20 20 74 68 61 | 74 20 20 20 69 66 20 20 |re tha|t if |
|00006300| 20 74 68 65 69 6e 74 65 | 72 72 75 70 74 65 64 20 | theinte|rrupted |
|00006310| 20 70 72 6f 67 72 61 6d | 20 69 73 20 20 74 6f 20 | program| is to |
|00006320| 20 62 65 20 20 63 6f 6e | 74 69 6e 75 65 64 28 69 | be con|tinued(i|
|00006330| 2e 65 2e 20 62 65 20 72 | 65 20 65 6e 74 65 72 65 |.e. be r|e entere|
|00006340| 64 29 2c 20 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 |d), the| content|
|00006350| 73 20 6f 66 20 61 6e 79 | 72 65 67 69 73 74 65 72 |s of any|register|
|00006360| 20 74 68 61 74 20 74 68 | 65 20 20 69 6e 74 65 72 | that th|e inter|
|00006370| 72 75 70 74 20 72 6f 75 | 74 69 6e 65 20 75 73 65 |rupt rou|tine use|
|00006380| 73 2c 6d 75 73 74 20 62 | 65 20 73 74 6f 72 65 64 |s,must b|e stored|
|00006390| 20 6f 72 20 20 70 75 73 | 68 65 64 20 6f 6e 74 6f | or pus|hed onto|
|000063a0| 20 74 68 65 20 20 73 74 | 61 63 6b 2c 61 6e 64 20 | the st|ack,and |
|000063b0| 72 65 6c 6f 61 64 65 64 | 20 20 6f 72 20 20 50 4f |reloaded| or PO|
|000063c0| 50 70 65 64 20 20 66 72 | 6f 6d 20 20 74 68 65 20 |Pped fr|om the |
|000063d0| 20 73 74 61 63 6b 62 65 | 66 6f 72 65 20 72 65 74 | stackbe|fore ret|
|000063e0| 75 72 6e 69 6e 67 a3 20 | 54 6f 20 65 6e 73 75 72 |urning. |To ensur|
|000063f0| 65 20 74 68 61 74 20 6e | 6f 20 20 6f 74 68 65 72 |e that n|o other|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.